| Modifier and Type | Field and Description |
|---|---|
| private static final char[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static byte[] | |
| public static String | Returns: hexadecimal stringbyte array b)Encode a byte array to a hexadecimal string. |
| HEX | back to summary |
|---|---|
| private static final char[] HEX | |
| Hex | back to summary |
|---|---|
| private Hex() Defeats instantiation. | |
| decode | back to summary |
|---|---|
| public static byte[] decode(String s) Decode a hexadecimal string to a byte array. Note this method validates that characters in the given string are valid as digits in a hex string.
| |
| toHexString | back to summary |
|---|---|
| public static String toHexString(byte[] b) Encode a byte array to a hexadecimal string.
| |