public final class StringUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
bytesToHexString(byte[] bytes)
Stringify a byte array to the hex representation for each byte.
|
static java.lang.String |
bytesToHexString(byte[] bytes,
int offset,
int length)
Stringify a portion of the byte array.
|
public static java.lang.String bytesToHexString(byte[] bytes)
bytes - the byte array to convert to hex string.public static java.lang.String bytesToHexString(byte[] bytes,
int offset,
int length)
bytes - byte array.offset - portion start.length - portion length.