Fan.Sys.MemBuf.trim C# (CSharp) Method

trim() public method

public trim ( ) : Buf
return Buf
        public override Buf trim()
        {
            if (m_size == m_buf.Length) return this;
              byte[] temp = new byte[m_size];
              System.Array.Copy(m_buf, 0, temp, 0, m_size);
              m_buf = temp;
              return this;
        }