Hex.decode

Converts the specified Hex-encoded string into a raw byte array. This is a convenience method that merely delegates to {@link #decode(char[])} using the argument's hex.toCharArray() value.

@param hex a Hex-encoded string. @return A byte array containing binary data decoded from the supplied string's char array.

  1. byte[] decode(byte[] array)
  2. byte[] decode(string hex)
    class Hex
    static
    byte[]
    decode
    (
    string hex
    )
  3. byte[] decode(char[] data)

Meta