code: public static void dump(Object _this, TraceComponent _tc, WsByteBuffer buffer, int bytesToDump, boolean rewind)
     {
        StringBuffer sb = new StringBuffer();
        sb.append("\nBuffer hashcode:  ");
        sb.append(Integer.toHexString(System.identityHashCode(buffer)));
        sb.append("\nBuffer position:  ");
        sb.append(buffer.position());
        sb.append("\nBuffer remaining: ");
        sb.append(buffer.remaining());
        sb.append("\n");
  
        SibTr.debug(_this, _tc, sb.toString());
        SibTr.debug(_this, _tc, getDumpBytes(buffer, bytesToDump, rewind));
     }
docs: This static method can be used to dump out the contents of the specified byte buffer to
  SibTr.debug. The number of bytes dumped can be specified in the second parameter. To dump
  out the entire contents of the buffer, a value of JFapByteBuffer.ENTIRE_BUFFER can be passed
  in.
  <p>Note this method should be guarded with an if (isxxxEnabled()) to ensure that it is not
  executed when tracing is turned off.
  
  @param buffer The buffer to dump
  @param bytesToDump The number of bytes to dump out