code: public WsByteBuffer wrap(com.ibm.wsspi.bytebuffer.WsByteBuffer realBuffer)
     {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "wrap", realBuffer);
  
        RichByteBufferImpl returnBuffer = null;
        // Ensure here that if a null realBuffer was passed in we do not wrap that in a wrapper from
        // the pool - we must also simply return null
        if (realBuffer != null)
        {
           returnBuffer = getFromPool();
           returnBuffer.reset(realBuffer, this);
        }
  
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "wrap", returnBuffer);
        return returnBuffer;
     }
docs: Wraps an already existing WsByteBuffer in the wrapper.
  
  @param realBuffer
  @return