Crates.io | nibble_vec |
lib.rs | nibble_vec |
version | 0.1.0 |
source | src |
created_at | 2015-03-20 20:14:32.099919 |
updated_at | 2020-06-27 23:13:10.337313 |
description | Vector data-structure for half-byte values. |
homepage | |
repository | https://github.com/michaelsproul/rust_nibble_vec |
max_upload_size | |
id | 1624 |
size | 48,211 |
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:
MIT License. Copyright © Michael Sproul and contributors 2015-present.