hexToByteArray

Converts a hexadecimal string to a byte array. The String can be either with leading 0x or without.

Return

The byte array representation of the hexadecimal string.