Package org.apache.tomcat.util.buf
Class HexUtils
- java.lang.Object
-
- org.apache.tomcat.util.buf.HexUtils
-
public final class HexUtils extends Object
Tables useful when converting byte arrays to and from strings of hexadecimal digits. Code from Ajp11, from Apache's JServ.- Author:
- Craig R. McClanahan
-
-
Constructor Summary
Constructors Constructor Description HexUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]fromHexString(String input)static intgetDec(int index)static bytegetHex(int index)static StringtoHexString(byte[] bytes)static StringtoHexString(char c)
-