A function that, given a string, can derive the bytes represented by that string.

Example

A decoder function that converts bytes to hexadecimal
representation would return `new Uint8Array([104, 101, 108, 108, 111])` when
given the string `'hello'`.
interface Decoder ((input) => Uint8Array<ArrayBufferLike>)