fromHex

Extension to decode a ByteArray from a string with hexadecimal numbers.