public class Debug extends Object
ByteBuffer objects. The individual values will
be printed in hexadecimal format in a tabular arrangement.| Constructor and Description |
|---|
Debug() |
| Modifier and Type | Method and Description |
|---|---|
static String |
byteBufferToString(ByteBuffer buffer)
Returns a string containing the buffered values in the defined format.
|
static void |
printByteBuffer(ByteBuffer buffer)
Prints the buffer content to
System.out. |
public static void printByteBuffer(ByteBuffer buffer)
System.out.buffer - contains the bytes to printpublic static String byteBufferToString(ByteBuffer buffer)
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.