Module Bitstring.Buffer


module Buffer: sig .. end
Buffers are mainly used by the BITSTRING constructor, but may also be useful for end users. They work much like the standard library Buffer module.

type t 
val create : unit -> t
val contents : t -> Bitstring.bitstring
val add_bits : t -> string -> int -> unit
val add_bit : t -> bool -> unit
val add_byte : t -> int -> unit