|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcom.wowza.util.DebugUtils
public final class DebugUtils
DebugUtils: Debugging utilties.
| Constructor Summary | |
|---|---|
DebugUtils()
|
|
| Method Summary | |
|---|---|
static String |
formatBytes(byte[] data)
Format byte array for printing. |
static String |
formatBytes(byte[] data,
int offset,
int len)
Format byte array for printing. |
static String |
formatBytesShort(byte[] data)
Format byte array for printing. |
static String |
formatBytesShort(byte[] data,
int offset,
int len)
Format byte array for printing. |
static String |
formatBytesStruct(byte[] data)
|
static String |
formatBytesStruct(byte[] data,
int offset,
int len)
Format byte array for printing. |
static String |
toHex(byte value)
Format a byte value to a 0xff format |
static String |
toHex(int value)
Format a byte value to a 0xffffffff format |
static String |
toLong(long value)
Format a long value to a 0xffffffffffffffff format |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebugUtils()
| Method Detail |
|---|
public static String formatBytes(byte[] data)
data - byte array
public static String formatBytes(byte[] data,
int offset,
int len)
data - byte arrayoffset - start index in arraylen - length to format
public static String formatBytesShort(byte[] data)
data - byte array
public static String formatBytesShort(byte[] data,
int offset,
int len)
data - byte arrayoffset - offset in arraylen - data len
public static String formatBytesStruct(byte[] data)
public static String formatBytesStruct(byte[] data,
int offset,
int len)
data - byte array
public static String toHex(byte value)
value - byte value
public static String toHex(int value)
value - int value
public static String toLong(long value)
value - long value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||