Returns Uint8Array with data decoded from hex string.
Throws error if hex string length is not divisible by 2 or has non-hex characters.
Returns Uint8Array with data decoded from hex string.
Throws error if hex string length is not divisible by 2 or has non-hex characters.