ethereumjs-monorepo

@ethereumjs/mpt


@ethereumjs/mpt / nibbleTypeToByteType

Function: nibbleTypeToByteType()

nibbleTypeToByteType(arr): Uint8Array

Defined in: packages/mpt/src/util/encoding.ts:115

Converts each nibble into a single byte

Parameters

arr

Nibbles

Nibble typed nibble array

Returns

Uint8Array

Uint8Array typed byte array