@ethereumjs/util / getBinaryTreeKey
getBinaryTreeKey(
stem
,leaf
):Uint8Array
<ArrayBufferLike
>
Defined in: packages/util/src/binaryTree.ts:116
Uint8Array
The 31-bytes binary tree stem as a Uint8Array.
Uint8Array <ArrayBufferLike > |
BinaryTreeLeafType |
Uint8Array
<ArrayBufferLike
>
The tree key as a Uint8Array.
Returns the tree key for a given binary tree stem, and sub index.
Assumes that the tree node width = 256