public class StringUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static char[] |
HEX_CHARS |
Constructor and Description |
---|
StringUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
hex4(char c,
java.lang.StringBuffer sb)
A 4-digit hex result.
|
static java.lang.String |
toHexString(byte[] bytes)
Returns a string representation of the byte array as a series of
hexadecimal characters.
|
public static void hex4(char c, java.lang.StringBuffer sb)
public static java.lang.String toHexString(byte[] bytes)
bytes
- byte array to convert