|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xbill.DNS.utils.hexdump
public class hexdump
A routine to produce a nice looking hex dump
Constructor Summary | |
---|---|
hexdump()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public hexdump()
Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |