Class Hex

java.lang.Object
org.apache.kerby.util.Hex

public class Hex extends Object
Utility class for dealing with hex-encoding of binary data.
Since:
13-Nov-2007
Author:
juliusdavies@gmail.com
  • Constructor Details

    • Hex

      public Hex()
  • Method Details

    • decode

      public static byte[] decode(String s)
    • decode

      public static byte[] decode(byte[] hexString)
    • encode

      public static String encode(byte[] b)
    • encode

      public static String encode(byte[] b, int offset, int length)