Data-structure for storing a sequence of half-bytes.
Wraps a Vec<u8>
, providing safe and memory-efficient storage of 4-bit values.
In terms of supported operations, the structure behaves kind of like a fixed length array, in that insertions into the middle of the vector are difficult (and unimplemented at present).
This code is available on the Rust package host:
https://crates.io/crates/nibble_vec
You can use it in your own projects by adding nibble_vec
as a dependency in your Cargo.toml
.
[dependencies]
nibble_vec = "0.0.5"
API documentation is available here:
Made by:
- Alexander Andreev (@andreevlex)
- Devin Ragotzy (@DevinR528)
- Michael Sproul (@michaelsproul)
- Vinzent Steinberg (@vks)
MIT License. Copyright © Michael Sproul and contributors 2015-present.