public void ConfigureAlignment(long startPosition) { ConfigureAlignment(startPosition, 1); }
/// <summary> /// Releases the buffered data contained in the buffer pool. /// This is acomplished by disposing of the writer and recreating it. /// </summary> private void ReleaseWriteBufferSpace() { m_writeBuffer.Dispose(); m_writeBuffer = new MemoryPoolStreamCore(m_pool); m_writeBuffer.ConfigureAlignment(m_lengthOfCommittedData, m_pool.PageSize); }