System.Security.SecurityDocument.GuaranteeSize C# (CSharp) Method

GuaranteeSize() public method

public GuaranteeSize ( int size ) : void
size int
return void
        public void GuaranteeSize( int size )
        {
            if (m_data.Length < size)
            {
                byte[] m_newData = new byte[((size / c_growthSize) + 1) * c_growthSize];
                Array.Copy( m_data, 0, m_newData, 0, m_data.Length );
                m_data = m_newData;
            }
        }