ethereumjs-monorepo

@ethereumjs/mpt


@ethereumjs/mpt / byteTypeToNibbleType

Function: byteTypeToNibbleType()

byteTypeToNibbleType(key): Nibbles

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

Turns each byte into a single nibble, only extracting the lower nibble of each byte

Parameters

key

Uint8Array

Uint8Array typed byte array

Returns

Nibbles

Nibble typed nibble array