package extprot

  1. Overview
  2. Docs
type t
type position
val close : t -> unit
val read_byte : t -> int
val read_prefix : t -> Codec.prefix
val read_vint : t -> int
val read_bool : t -> bool
val read_rel_int : t -> int
val read_i8 : t -> int
val read_i32 : t -> Int32.t
val read_i64 : t -> Int64.t
val read_float : t -> float
val read_string : t -> string
val read_raw_bool : t -> bool
val read_raw_rel_int : t -> int
val read_raw_i8 : t -> int
val read_raw_i32 : t -> Int32.t
val read_raw_i64 : t -> Int64.t
val read_raw_float : t -> float
val read_raw_string : t -> string
val read_serialized_data : t -> int -> string
val offset : t -> int -> position
val skip_to : t -> position -> unit
val skip_value : t -> Codec.prefix -> unit
val read_message : t -> string
val from_io : IO.input -> t
val from_string : ?offset:int -> string -> t
val from_file : string -> t
val get_value_reader : t -> String_reader.t
val get_value_reader_with_prefix : t -> Codec.prefix -> String_reader.t
OCaml

Innovation. Community. Security.