cool-bitvector 0.1.1

A cool bitvector implementation in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
use cool_bitvector::BitVector;

fn main() {
    let mut bvec = BitVector::with_capacity(32);

    bvec.set(16, true);
    bvec.set(67, true);

    println!("{}", bvec.get(16));
    println!("{}", bvec.get(67));
}