public final class Hex extends Object
| Constructor and Description |
|---|
Hex() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(String hex)
Decodes a hex string to a byte array.
|
static String |
encode(byte[] bytes)
Encodes a byte array to hex.
|