amqp-client

Amqp client base library
Library amqp-client.lib
type t = {
mutable buf : Bytes.t;
mutable offset : int;
apply : bool;
}
val create : int -> t
val sizer : unit -> t
val write : ( Bytes.t -> int -> 'a -> unit ) -> int -> t -> 'b -> 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