corda / net.corda.core.utilities / kotlin.String / parseAsHex

parseAsHex

fun String.parseAsHex(): ByteArray

Converts this String of hexadecimal digits into a ByteArray.

Exceptions

IllegalArgumentException - if the String contains incorrectly-encoded characters.