hexStringToByteArray

Utility function to convert a hex string to a byte array.

Return

The corresponding ByteArray.

Parameters

hexString

The hex string (e.g., "0x123...").