/// <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; } }