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([0xde, 0xad, 0xbe, 0xef]) when
given the string 'deadbeef'.
Hierarchy
Decoder
Callable
__call(input: string): Uint8Array
public
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([0xde, 0xad, 0xbe, 0xef]) when
given the string 'deadbeef'.
A function that, given a string, can derive the bytes represented by that string.
A decoder function that converts bytes to hexadecimal representation would return
new Uint8Array([0xde, 0xad, 0xbe, 0xef])
when given the string'deadbeef'
.