Crate nybbles

Source
Expand description

§nybbles

Efficient nibble-sized (4-bit) byte sequence data structure.

Structs§

  • Structure representing a sequence of nibbles.

Functions§

  • Returns the length of the common prefix between the two slices.
  • Gets the byte at the given index by combining two consecutive nibbles.
  • Gets the byte at the given index by combining two consecutive nibbles.
  • Packs the nibbles into the given slice.
  • Packs the nibbles into the given slice without checking its length.
  • Initializes a smallvec with the given length and a closure that initializes the buffer.