public final class HexDump extends Object
dump(byte[], String) generates a standard hexdump
textual representation of binary data.| Modifier and Type | Method and Description |
|---|---|
static String |
dump(byte[] data,
int offset,
int size,
String indent)
Returns a text representation of the given byte array.
|
static String |
dump(byte[] data,
String indent)
Dump out
data's entire contents starting at
byte zero. |
public static String dump(byte[] data, String indent)
data's entire contents starting at
byte zero.data - Generate hex dump for this data region.indent - Prefix each line with this text.public static String dump(byte[] data, int offset, int size, String indent)
0x00000000: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx "........ ........"
data - Generate hex dump for this data region.offset - Offset into the data array.size - Out these many bytes in data array.indent - Prefix each line with this text.Copyright © 2019. All rights reserved.