public class LogHelper
extends java.lang.Object
Constructor and Description |
---|
LogHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
byteArrayToString(byte[] ba)
Produce string representation of byte array.
|
static java.lang.String |
byteArrayToString(byte[] ba,
int maxlen)
Produce string representation of byte array.
|
public static java.lang.String byteArrayToString(byte[] ba)
ba
- byte arraypublic static java.lang.String byteArrayToString(byte[] ba, int maxlen)
ba
- byte arraymaxlen
- maximum number of bytes to display