bitvec icon indicating copy to clipboard operation
bitvec copied to clipboard

A crate for managing memory bit by bit

Results 100 bitvec issues
Sort by recently updated
recently updated
newest added
trafficstars

Fixes #250 I changed the assert message, but it might make more sense to change the assertion itself to `by < len` instead of `by

Changed the `assert_within_bounds` in the `extend_from_within` function to allow ranges that include the last element of the vector. Currently when calling ranges that include the the last element of the...

Hi I had a question regarding the safety of `remove_alias`. The safety explanation is a bit hard for me to understand. Especially this part: >You must consume the adapted iterator...

Hi! I'm attempting to shift a `&[u8]` by 4 bits, using the bitvec crate. Here's my naive guess from the Readme: ```rust let bits = (data.view_bits::()[4..]).as_raw_slice(); ``` error: ``` 51...

The default implementation of `clone_from` is just `*self = other.clone()`, which involves an unnecessary allocation if `self.len() == other.len()`. This PR provides a `Clone::clone_from` implementation that calls `copy_from_bitslice` when applicable.

Hello! I try to build my project with bitvec for stm32f103. I added this for my cargo.toml: ``` [dependencies.bitvec] version = "1" default-features = false features = ["atomic", "alloc"] ```...

This implementation kind of already exists with `TryFrom` for `BitArray`, but it would be nice to have a direct implementation between the two types.

`BitStore` is already implemented for unsigned integer types. Could it be implemented for signed types too? I have a situation where I need a `BitSlice` view on a slice of...