public class HexDump extends Object
| Constructor and Description |
|---|
HexDump() |
| Modifier and Type | Method and Description |
|---|---|
static String |
dump(byte[] data)
Dump a byte array in a String.
|
static String |
dump(byte[] data,
int off,
int len)
Dump a byte array in a String.
|
static void |
dump(byte[] data,
int off,
int len,
OutputStream out)
Dump a byte array through a stream.
|
static void |
dump(byte[] data,
OutputStream out)
Dump a byte array through a stream.
|
public static String dump(byte[] data)
data - Data to be dumpedpublic static String dump(byte[] data, int off, int len)
data - Data to be dumpedoff - Offset from the beginning of datalen - Number of bytes of data to be dumpedpublic static void dump(byte[] data,
int off,
int len,
OutputStream out)
throws IOException
data - Data to be dumpedoff - Offset from the beginning of datalen - Number of bytes of data to be dumpedout - Output streamIOExceptionpublic static void dump(byte[] data,
OutputStream out)
throws IOException
data - Data to be dumpedout - Output streamIOException