ethereumjs-monorepo

@ethereumjs/mpt


@ethereumjs/mpt / hexToKeybytes

Function: hexToKeybytes()

hexToKeybytes(hex): Uint8Array<ArrayBuffer>

Defined in: util/encoding.ts:48

Convert a hex (nibble) key to keybytes, stripping an optional terminator nibble.

Parameters

hex

Uint8Array

Returns

Uint8Array<ArrayBuffer>