A function that, given a TypedArray of bytes, can produce a string representation thereof.
An encoder function that converts bytes to hexadecimal representation would return 'deadbeef' when given new Uint8Array([0xde, 0xad, 0xbe, 0xef]).
'deadbeef'
new Uint8Array([0xde, 0xad, 0xbe, 0xef])
A function that, given a TypedArray of bytes, can produce a string representation thereof.
An encoder function that converts bytes to hexadecimal representation would return
'deadbeef'
when givennew Uint8Array([0xde, 0xad, 0xbe, 0xef])
.