ethereumjs-monorepo

@ethereumjs/mpt


@ethereumjs/mpt / nibbleTypeToByteType

Function: nibbleTypeToByteType()

nibbleTypeToByteType(arr): Uint8Array

Defined in: util/encoding.ts:118

Convert each nibble to a single byte (lower four bits only).

Parameters

arr

Nibbles

Nibble array

Returns

Uint8Array