Module trie::merkle::nibble
[−]
[src]
Merkle nibble types.
Enums
Nibble |
Represents a nibble. A 16-variant value. |
NibbleType |
A nibble type. |
Functions
common |
Common prefix for two nibbles. |
common_all |
Common prefix for all provided nibbles. |
common_with_sub |
Common prefix for two nibbles. Return the sub nibbles. |
decode |
Decode a nibble from RLP. |
encode |
Encode a nibble into the given RLP stream. |
from_key |
Given a key, return the corresponding nibble. |
into_key |
Given a nibble, return the corresponding key. |
Type Definitions
NibbleSlice |
A nibble slice. |
NibbleVec |
A nibble vector. |