[−][src]Crate quartet
quartet
provides useful abstractions for working with data that is described/structure in 4-bit
chunks.
use quartet::NibSlice; let nib_slice = NibSlice::from_bytes_skip_last(&[0x12, 0x34, 0x50]); assert_eq!(nib_slice.index(1), 2);
Structs
Iter | Iterate over a |
NibSlice | A const slice ( |
Enums
Exclude | Which nibbles are excluded from the |
Traits
SliceIndex | A helper trait used for indexing operations |
Functions
decompose_offset | Decompose a nibble offset into byte oriented terms. |