@ethereumjs/util / bytesToHex
bytesToHex(
bytes
):`0x${string}`
Defined in: packages/util/src/bytes.ts:43
Converts a Uint8Array to a PrefixedHexString
Uint8Array
the bytes to convert
`0x${string}`
the hex string
Returns 0x
if provided an empty Uint8Array