package biniou

  1. Overview
  2. Docs
type t = {
  1. mutable i_s : string;
  2. mutable i_pos : int;
  3. mutable i_len : int;
  4. mutable i_offs : int;
  5. mutable i_max_len : int;
  6. i_refill : t -> int -> unit;
  7. i_shared : Bi_share.Rd.tbl;
}
exception End_of_input
val try_preread : t -> int -> int
val read : t -> int -> int
val read_char : t -> char
val peek : t -> char
val from_string : ?pos:int -> ?shrlen:int -> string -> t
val not_really_input : Pervasives.in_channel -> bytes -> int -> int -> int -> int
val refill_from_channel : Pervasives.in_channel -> t -> int -> unit
val from_channel : ?len:int -> ?shrlen:int -> Pervasives.in_channel -> t
OCaml

Innovation. Community. Security.