org.apache.commons.ssl.util
Class Hex

java.lang.Object
  extended by org.apache.commons.ssl.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 Summary
Hex()
           
 
Method Summary
static byte[] decode(byte[] hexString)
           
static byte[] decode(String s)
           
static String encode(byte[] b)
           
static String encode(byte[] b, int offset, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hex

public Hex()
Method Detail

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)