fromHex

fun fromHex(stringWithHex: String): ByteArray

Decodes a string with hexadecimal numbers.

The string must contain no whitespace.

Parameters

stringWithHex

a string with hexadecimal numbers.

Throws

if the string isn't properly formatted.