@ethereumjs/trie / BranchNode
• new BranchNode()
packages/trie/src/node/branch.ts:9
• _branches: (null
| EmbeddedNode
)[]
packages/trie/src/node/branch.ts:6
• _value: null
| Uint8Array
packages/trie/src/node/branch.ts:7
▸ getBranch(i
): null
| EmbeddedNode
Name | Type |
---|---|
i |
number |
null
| EmbeddedNode
packages/trie/src/node/branch.ts:41
▸ getChildren(): [number
, EmbeddedNode
][]
[number
, EmbeddedNode
][]
packages/trie/src/node/branch.ts:50
▸ raw(): (null
| EmbeddedNode
)[]
(null
| EmbeddedNode
)[]
packages/trie/src/node/branch.ts:33
▸ serialize(): Uint8Array
Uint8Array
packages/trie/src/node/branch.ts:37
▸ setBranch(i
, v
): void
Name | Type |
---|---|
i |
number |
v |
null | EmbeddedNode |
void
packages/trie/src/node/branch.ts:29
▸ value(v?
): null
| Uint8Array
Name | Type |
---|---|
v? |
null | Uint8Array |
null
| Uint8Array
packages/trie/src/node/branch.ts:21
▸ Static
fromArray(arr
): BranchNode
Name | Type |
---|---|
arr |
Uint8Array [] |