public class hexdump
extends java.lang.Object
| Constructor and Description |
|---|
hexdump() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
dump(java.lang.String s,
byte[] b) |
static java.lang.String |
dump(java.lang.String description,
byte[] b,
int offset,
int length)
Dumps a byte array into hex format.
|
public static java.lang.String dump(java.lang.String description,
byte[] b,
int offset,
int length)
description - If not null, a description of the data.b - The data to be printed.offset - The start of the data in the array.length - The length of the data in the array.public static java.lang.String dump(java.lang.String s,
byte[] b)