@ethereumjs/util
@ethereumjs/util / bytesToUtf8
bytesToUtf8(bytes): string
bytes
string
Defined in: packages/util/src/bytes.ts:493
Convert a Uint8Array to a UTF-8 string.
Uint8Array
The input bytes to decode
If the input is not a Uint8Array