Exemplo n.º 1
0
 /// <summary>Release the buffer in this packet to ByteArrayManager.</summary>
 /// <param name="bam"/>
 internal virtual void ReleaseBuffer(ByteArrayManager bam)
 {
     lock (this)
     {
         bam.Release(buf);
         buf = null;
     }
 }