package amqp-client

  1. Overview
  2. Docs
type t = {
  1. buf : String.t;
  2. mutable offset : int;
}
val init : ?offset:int -> String.t -> t
val read : (String.t -> int -> 'a) -> int -> t -> 'a
val string : t -> int -> string
val octet : t -> int
val short : t -> int
val long : t -> int
val longlong : t -> int
val float : t -> float
val double : t -> float
val length : t -> int
val has_data : t -> bool
val offset : t -> int
val copy : t -> dst_pos:int -> len:int -> Bytes.t -> unit
OCaml

Innovation. Community. Security.