bitvec
bitvec copied to clipboard
A crate for managing memory bit by bit
See #280
I would expect the following code to run without problems. But in debug mode, it panics. ```rust let mut bv = bitvec![0, 1, 0, 0, 1]; drop(bv.splice( 2 .. 2,...
I am trying to merge multiple BitVecs, such that if a position has a 1 in one of the BitVecs, that position in the final set will store 1; if...
I use `BitArray` as a container and then trying to index into it. Immutable indexing to return `&bool` works just fine, but attempt to return `&mut bool` fails: ``` 218...
It looked like this: https://docs.rs/bitvec/1.0.1/bitvec/array/struct.BitArray.html#method.shift_right
Maybe I'm doing something wrong, but the code below is failing. I expected `from_iter` to result in a `BitVec` with the same `len()` as the number of iterated elements. ```rust...
This repository hasn't been updated in years. Since bitvec is a popular crate, I’m wondering if there are any known efforts to fork or maintain the library elsewhere.
Bitvec already provides `shift_left` and `shift_right` methods for in-place bitshifts, but it would be nice to provide operators which return the shifted BitVec/BitArray. This would also make it easier to...
Make some of `BitArray` methods constant, so that they can be used in `const` expressions
I'm seeing some strange behavior when loading a little-endian value from a bitslice, and I'm wondering if I'm missing something. I've got the following two test scenarios: ```rust use bitvec::{bits,...