Expand description
§nybble
nybble is a helper crate to split byte vectors into nybbles
and combine them back.
Enums§
- Nybble
Order - The order of nybbles in a byte.
Functions§
- byte_
from_ nybbles - Makes a byte from the high and low nybbles, with the high nybble specified first.
- denybblify
- Make a new byte array from
databy combining adjacent bytes representing the high and low nybbles of each byte. Theorderargument determines which one comes first. - high_
nybble - Gets the high nybble from a byte.
- low_
nybble - Gets the low nybble from a byte.
- nybbles_
from_ byte - Gets the high and low nybble of a byte as a tuple, with the high nybble first.
- nybblify
- Make a new byte array from
datawith the bytes split into high and low nybbles. Theorderargument determines which one comes first.