Expand description
§nybbles
Efficient nibble-sized (4-bit) byte sequence data structure.
Structs§
- Nibbles
- Structure representing a sequence of nibbles.
Functions§
- common_
prefix_ length - Returns the length of the common prefix between the two slices.
- get_
byte - Gets the byte at the given index by combining two consecutive nibbles.
- get_
byte_ ⚠unchecked - Gets the byte at the given index by combining two consecutive nibbles.
- pack_to
- Packs the nibbles into the given slice.
- pack_
to_ ⚠unchecked - Packs the nibbles into the given slice without checking its length.
- smallvec_
with ⚠ - Initializes a smallvec with the given length and a closure that initializes the buffer.