public class Hex
extends java.lang.Object
| Constructor and Description |
|---|
Hex() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
toBytes(java.lang.String hex)
Convert hex to bytes
|
static java.lang.String |
toHex(byte[] bytes)
Convert bytes to hex
|
static java.lang.String |
toHex(byte[] bytes,
int offset,
int len)
Convert bytes to hex
|
static long |
toLong(byte[] bytes) |
public static java.lang.String toHex(byte[] bytes)
public static java.lang.String toHex(byte[] bytes,
int offset,
int len)
public static byte[] toBytes(java.lang.String hex)
public static long toLong(byte[] bytes)