hexDecode

Convert a hex string back to bytes.

  1. ubyte[] hexDecode(string hexStr)
    @safe
    ubyte[]
    hexDecode
    pure
    (
    string hexStr
    )
  2. ubyte[] hexDecode(in ubyte[] hexData)

Throws

InvalidEncodingException if non-hex chars appear or input has uneven length

Meta