package extprot

  1. Overview
  2. Docs
type t
type position
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 make : string -> int -> int -> t
val make_sub : t -> off:position -> upto:position -> t
val unsafe_from_msgbuffer : Msg_buffer.t -> t
val from_string : string -> t
val from_io_reader : IO_reader.t -> t
val from_io_reader' : IO_reader.t -> t * string
val from_io : IO.input -> t
val close : t -> unit
val append_to_buffer : t -> Msg_buffer.t -> unit
val range_length : position -> position -> int
val get_value_reader : t -> t
val get_value_reader_with_prefix : t -> Codec.prefix -> t
OCaml

Innovation. Community. Security.