private void EnsureCapacity(long length) { while (m_capacity < length) { m_blocks.Add(MemoryBlockPool.Dequeue()); m_capacity += BlockSize; } }