Expand description
This is a bit vector implementation with guaranteed [u8]
LSB 0
representation and the ability to get safe immutable and mutable views into its
internal vector for easy I/O.
It mirrors the API of std::vec::Vec
as much as possible. Notable differences:
BitVec
’s non-consuming iterator enumeratesbool
s instead of&bool
s.
Structs
- Bit vector with guaranteed
[u8]
LSB 0 representation and safe mutable access to this slice. Slices into the bit vector are guaranteed to have the unused bits on the last byte set to 0. - Consumes and allows forward iteration through the bits of a bit vector.
- Allows forward iteration through the bits of a bit vector.