@ethereumjs/trie / LeafNode
Node
↳ LeafNode
• new LeafNode(nibbles
, value
)
Name | Type |
---|---|
nibbles |
Nibbles |
value |
Uint8Array |
Node.constructor
packages/trie/src/node/leaf.ts:8
• _nibbles: Nibbles
Node._nibbles
packages/trie/src/node/node.ts:9
• _terminator: boolean
Node._terminator
packages/trie/src/node/node.ts:11
• _value: Uint8Array
Node._value
packages/trie/src/node/node.ts:10
▸ encodedKey(): Nibbles
Node.encodedKey
packages/trie/src/node/node.ts:43
▸ key(k?
): Nibbles
Name | Type |
---|---|
k? |
Nibbles |
Node.key
packages/trie/src/node/node.ts:23
▸ keyLength(): number
number
Node.keyLength
packages/trie/src/node/node.ts:31
▸ raw(): [Uint8Array
, Uint8Array
]
[Uint8Array
, Uint8Array
]
Node.raw
packages/trie/src/node/node.ts:47
▸ serialize(): Uint8Array
Uint8Array
Node.serialize
packages/trie/src/node/node.ts:51
▸ value(v?
): Uint8Array
Name | Type |
---|---|
v? |
Uint8Array |
Uint8Array
Node.value
packages/trie/src/node/node.ts:35
▸ Static
decodeKey(key
): Nibbles
Name | Type |
---|---|
key |
Nibbles |
Node.decodeKey
packages/trie/src/node/node.ts:19
▸ Static
encodeKey(key
): Nibbles
Name | Type |
---|---|
key |
Nibbles |