4 releases

0.0.4 Nov 7, 2017
0.0.3 Apr 5, 2015
0.0.2 Mar 31, 2015
0.0.1 Mar 20, 2015

#181 in Data structures

Download history 4390/week @ 2019-07-30 3215/week @ 2019-08-06 2725/week @ 2019-08-13 2130/week @ 2019-08-20 2340/week @ 2019-08-27 2479/week @ 2019-09-03 3127/week @ 2019-09-10 3669/week @ 2019-09-17 4217/week @ 2019-09-24 4871/week @ 2019-10-01 5313/week @ 2019-10-08 6230/week @ 2019-10-15 5120/week @ 2019-10-22 4168/week @ 2019-10-29 5303/week @ 2019-11-05

4,449 downloads per month
Used in 43 crates (1 directly)

MIT license

15KB
300 lines

NibbleVec

Build Status

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).

Usage

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.3"

Documentation

API documentation is available here:

https://docs.rs/nibble_vec

License

MIT License. Copyright © Michael Sproul and contributors 2015-2017.

No runtime deps