parseAsHex

@NotNull
open fun parseAsHex(@NotNull str: String): Array<Byte>

Converts this String of hexadecimal digits into a byte[].

Throws

if the String contains incorrectly-encoded characters.