Converts a hexadecimal string to a byte array.
The hexadecimal string to convert.
A byte array containing the decoded values.
hexToBytes('FF00') // Returns Uint8Array([255, 0]) Copy
hexToBytes('FF00') // Returns Uint8Array([255, 0])
Converts a hexadecimal string to a byte array.