Registry / utility / bitreader

bitreader

JSON →
library0.3.11rscratesunverified

BitReader helps reading individual bits from a slice of bytes.

# Cargo.toml [dependencies] bitreader = "0.3.11"
INSTALL
IMPORT
SIG · BITREADER
B
bitreader
utilityrustv0.3.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BitReader
use bitreader::BitReader;

Read individual bits from a byte slice.

use bitreader::BitReader; fn main() { let data = [0b10101010]; let mut reader = BitReader::new(&data); let bit = reader.read_u8(1).unwrap(); println!("First bit: {}", bit); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.11latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
bitreader — cargo add bitreader · libregistry