package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type unicode_lexbuf = private {
  1. mutable ulb_encoding : Netconversion.encoding;
  2. mutable ulb_encoding_start : int;
  3. mutable ulb_rawbuf : Stdlib.Bytes.t;
  4. mutable ulb_rawbuf_len : int;
  5. mutable ulb_rawbuf_end : int;
  6. mutable ulb_rawbuf_const : bool;
  7. mutable ulb_chars : int array;
  8. mutable ulb_chars_pos : int array;
  9. mutable ulb_chars_len : int;
  10. mutable ulb_eof : bool;
  11. mutable ulb_refill : Stdlib.Bytes.t -> int -> int -> int;
  12. mutable ulb_enc_change_hook : unicode_lexbuf -> unit;
  13. mutable ulb_cursor : Stdlib.Bytes.t Netconversion.poly_cursor;
}
val from_function : ?raw_size:int -> ?char_size:int -> ?enc_change_hook:(unicode_lexbuf -> unit) -> refill:(Stdlib.Bytes.t -> int -> int -> int) -> Netconversion.encoding -> unicode_lexbuf
val from_in_obj_channel : ?raw_size:int -> ?char_size:int -> ?enc_change_hook:(unicode_lexbuf -> unit) -> Netconversion.encoding -> Netchannels.in_obj_channel -> unicode_lexbuf
val from_string : ?enc_change_hook:(unicode_lexbuf -> unit) -> Netconversion.encoding -> string -> unicode_lexbuf
val from_bytes : ?enc_change_hook:(unicode_lexbuf -> unit) -> Netconversion.encoding -> Stdlib.Bytes.t -> unicode_lexbuf
val from_bytes_inplace : ?enc_change_hook:(unicode_lexbuf -> unit) -> Netconversion.encoding -> Stdlib.Bytes.t -> unicode_lexbuf
val delete : int -> unicode_lexbuf -> unit
val refill : unicode_lexbuf -> unit
val set_encoding : Netconversion.encoding -> unicode_lexbuf -> unit
val close : unicode_lexbuf -> unit
val utf8_sub_string : int -> int -> unicode_lexbuf -> string
val utf8_sub_string_length : int -> int -> unicode_lexbuf -> int
OCaml

Innovation. Community. Security.