Module Bitvector


module Bitvector: sig .. end
Bitvector naive implementation.
Since Carbon-20101201

type t 
val create : int -> t
A vector of n bits
val mem : t -> int -> bool
val set : t -> int -> unit
val clear : t -> int -> unit
val set_range : t -> int -> int -> unit
val is_empty : t -> bool
val pretty : Format.formatter -> t -> unit
Bit vector, as blocs of 8-bits separated by space, first bits to last bits from left to right.
val pp_bits : Format.formatter -> int -> unit
0b... format, for bytes only, most significant bits on left.