public class HexDump
extends java.lang.Object
| Constructor and Description |
|---|
HexDump() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
dump(byte[] bytes)
Build a readable hex dump of the given bytes.
|
static java.lang.String |
dump(java.lang.String str)
Build a readable hex dump of the given string.
|
public static java.lang.String dump(java.lang.String str)
str - the stringpublic static java.lang.String dump(byte[] bytes)
bytes - the byte array