package bitstring

  1. Overview
  2. Docs

Module Bitstring.BufferSource

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.

Sourcetype t
Sourceval create : unit -> t
Sourceval contents : t -> bitstring
Sourceval add_bits : t -> bytes -> int -> unit
Sourceval add_bit : t -> bool -> unit
Sourceval add_byte : t -> int -> unit
OCaml

Innovation. Community. Security.