hexString2Bytes

open fun hexString2Bytes(hexString: String): Array<Byte>

Hex string to bytes.

e.g. hexString2Bytes("00A8") returns { 0, (byte) 0xA8 }

Return

the bytes

Parameters

hexString

The hex string.