Java Utililty Methods ByteBuffer Print

List of utility methods to do ByteBuffer Print

Description

The list of methods to do ByteBuffer Print are organized into topic(s).

Method

voidprintTraceHexData(PrintWriter trc, ByteBuffer buf, int startPos, int endPos)
print Trace Hex Data
int len = endPos - startPos;
for (int i = 0; i < len; i += 16) {
    trc.printf("    ");
    for (int k = 0; k + i < len && k < 16; k++) {
        if (k > 0) {
            trc.print(" ");
            if (k % 4 == 0) {
                trc.print(" ");
...