#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

#360 in Data structures

Download history 14/week @ 2019-07-17 12/week @ 2019-07-31 19/week @ 2019-08-07 26/week @ 2019-08-21 32/week @ 2019-08-28 16/week @ 2019-09-04 12/week @ 2019-09-11 141/week @ 2019-09-18 16/week @ 2019-09-25 13/week @ 2019-10-02 1/week @ 2019-10-09 19/week @ 2019-10-16 9/week @ 2019-10-23

65 downloads per month

MIT/Apache

27KB
602 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