|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.SIRAPRISE.util.MyByteBuffer
public class MyByteBuffer
Class to dump the contents of a ByteBuffer in hex
| Constructor Summary | |
|---|---|
MyByteBuffer()
|
|
| Method Summary | |
|---|---|
static boolean |
equalBytes(java.nio.ByteBuffer buffer1,
java.nio.ByteBuffer buffer2)
Returns true if two byte buffers have equal limits, plus equal bytes in all buffer positions before the limit |
static java.lang.String |
toHex(java.nio.ByteBuffer byteBuffer)
Builds a hexadecimal representation of the contents of any ByteBuffer |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MyByteBuffer()
| Method Detail |
|---|
public static boolean equalBytes(java.nio.ByteBuffer buffer1,
java.nio.ByteBuffer buffer2)
buffer1 - The first buffer to be comparedbuffer2 - The secondbuffer to be compared
public static java.lang.String toHex(java.nio.ByteBuffer byteBuffer)
byteBuffer - The bytebuffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||