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([104, 101, 108, 108, 111])` whengiven the string `'hello'`. Copy
A decoder function that converts bytes to hexadecimalrepresentation would return `new Uint8Array([104, 101, 108, 108, 111])` whengiven the string `'hello'`.
A function that, given a string, can derive the bytes represented by that string.
Example