extprot

Extensible binary protocols for cross-language communication and long-term serialization
Library extprot
Module type Extprot . Reader . S
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