List of utility methods to do ByteBuffer Print
void | printTraceHexData(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(" "); ... |