package amqp-client

  1. Overview
  2. Docs
type t = {
  1. mutable buf : Bytes.t;
  2. mutable offset : int;
  3. apply : bool;
}
val create : int -> t
val sizer : unit -> t
val write : (Bytes.t -> int -> 'a -> unit) -> int -> t -> 'a -> unit
val get : t -> Bytes.t
val string : t -> ?src_pos:int -> ?len:int -> string -> unit
val octet : t -> int -> unit
val short : t -> int -> unit
val short_ref : t -> int -> unit
val long : t -> int -> unit
val longlong : t -> int -> unit
val float : t -> float -> unit
val double : t -> float -> unit
val size_ref : t -> unit -> unit
val size : t -> int
OCaml

Innovation. Community. Security.