code: public synchronized void dump(Object _this, TraceComponent _tc, int bytesToDump)
     {
        int bytesRemainingToDump = bytesToDump;
  
        if (receivedBuffer != null)
        {
           SibTr.debug(this, tc, "Buffer contains a single underlying WsByteBuffer:");
           dump(_this, _tc, receivedBuffer, bytesRemainingToDump, false);
        }
        else
        {
           SibTr.debug(this, tc, "Buffer contains " + dataList.size() + " underlying WsByteBuffer(s):");
  
           for (int x = 0; x < dataList.size(); x++)
           {
              WsByteBuffer buff = dataList.get(x);
  
              dump(_this, _tc, buff, bytesRemainingToDump, true);
  
              // If we are not dumping the entire buffer
              if (bytesToDump != ENTIRE_BUFFER)
              {
                 // Was there more in the buffer than we could dump anyway?
                 if (buff.remaining() >= bytesRemainingToDump)
                 {
                    // If so - we are done
                    bytesRemainingToDump = 0;
                 }
                 else
                 {
                    // Otherwise, decrement the amount left to dump
                    bytesRemainingToDump -= buff.remaining();
                 }
  
                 // Break out if nothing more to do
                 if (bytesRemainingToDump <= 0) break;
              }
           }
        }
     }
docs: This method will dump the number of bytes from this instance of the JFapByteBuffer. To dump
  out the entire contents of all buffers, 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 bytesToDump