package amqp-client

  1. Overview
  2. Docs

Module Io.OutputSource

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

Innovation. Community. Security.