Skip to content

bytesToUnprefixedHex

bytesToUnprefixedHex(bytes): string

Parameters

bytes: Uint8Array

Returns

string

Example

bytesToHex(Uint8Array.from([0xca, 0xfe, 0x01, 0x23])) // 'cafe0123'

Defined in

node_modules/.pnpm/@ethereumjs+util@9.1.0/node_modules/@ethereumjs/util/dist/esm/bytes.d.ts:6