| 1 |
# Dynamically-Allocated, Adjustable-Size, Bit Buffer |
| 2 |
|
| 3 |
This module defines the [`BitVec`] buffer and its associated support code. |
| 4 |
|
| 5 |
`BitVec` is analogous to [`Vec<bool>`] in its use of dynamic memory allocation |
| 6 |
and its relationship to the [`BitSlice`] type. Most of the interesting work to |
| 7 |
be done on a bit sequence is actually implemented in `BitSlice`, with `BitVec` |
| 8 |
itself largely only containing interfaces to the memory allocator. |
| 9 |
|
| 10 |
## Original |
| 11 |
|
| 12 |
[`vec`](mod@alloc::vec) |
| 13 |
|
| 14 |
[`BitVec`]: crate::vec::BitVec |
| 15 |
[`BitSlice`]: crate::slice::BitSlice |
| 16 |
[`Vec<bool>`]: alloc::vec::Vec |