A function that, given a string, can derive the bytes represented by that string.
A decoder function that converts bytes to hexadecimalrepresentation would return `new Uint8Array([0xde, 0xad, 0xbe, 0xef])` whengiven the string `'deadbeef'`. Copy
A decoder function that converts bytes to hexadecimalrepresentation would return `new Uint8Array([0xde, 0xad, 0xbe, 0xef])` whengiven the string `'deadbeef'`.
A function that, given a string, can derive the bytes represented by that string.
Example