#bit #vector #bitvec

bitvec-rs

Bit vector with guaranteed [u8] representation and the ability to get safe immutable and mutable views into its internal vector for easy I/O

7 releases

0.2.0 Apr 28, 2019
0.1.5 Apr 28, 2019
0.1.1 Mar 31, 2019
0.1.0 Oct 23, 2016

#658 in Data structures

46 downloads per month

MIT/Apache

27KB
606 lines

bitvec-rs

This is a bit vector implementation with guaranteed [u8] 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 enumerates bools instead of &bools.

License

Copyright 2019, Ashish Myles. This software is dual-licensed under the MIT and Apache 2.0 licenses.


lib.rs:

This is a bit vector implementation with guaranteed [u8] 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 enumerates bools instead of &bools.

No runtime deps