package proton

  1. Overview
  2. Docs

Module Proton.Buffered_readerSource

Sourcetype t = {
  1. mutable buffer : bytes;
  2. mutable pos : int;
  3. mutable valid : int;
  4. mutable eof : bool;
  5. fill_func : bytes -> int -> int -> int;
}
Sourceval create_from_channel : in_channel -> t
Sourceval create_from_bytes : bytes -> t
Sourceval create_from_bytes_no_copy : bytes -> t
Sourceval fill_buffer : t -> unit
Sourceval input_byte : t -> int
Sourceval really_input : t -> bytes -> int -> int -> unit
Sourceval really_input_string : t -> int -> string