Decode a hexadecimal-encoded string into a Uint8Array.
new Uint8Array([42, 100, 255])
Note, this method always completes. If
validHex is not divisible by 2,
the final byte will be parsed as if it were prepended with a
is interpreted as
validHex is potentially malformed, check
it with isHex before calling this method.
a string of valid, hexadecimal-encoded data
Generated using TypeDoc