public final class HexUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
toHex(byte[] data)
Convert a byte array into his hex representation.
|
static String |
toHex(byte[] data,
char sep)
Convert a byte array into his hex representation.
|
static String |
toHex(byte[] data,
int off,
int len)
Convert a byte array into his hex representation.
|
static String |
toHex(byte[] data,
int off,
int len,
Character sep)
Convert a byte array into his hex representation.
|
public static String toHex(byte[] data)
data - byte arraypublic static String toHex(byte[] data, char sep)
data - byte arraysep - byte separatorpublic static String toHex(byte[] data, int off, int len)
data - byte arrayoff - starting offsetlen - bytes to convertCopyright © 2006–2024. All rights reserved.