public override void Write(byte[] buffer, int offset, int count) { if (m_IsCompressed) { m_Buffer.Write(buffer, offset, count); if (m_Buffer.Position >= m_BlockSize) { FlushBuffer(); } } else { RawStream.Write(buffer, offset, count); } }
public override void Write(byte[] buffer, int offset, int count) { if (m_IsCompressed) { m_Buffer.Write(buffer, offset, count); if (m_Buffer.Position >= m_BlockSize) { FlushBuffer(); } } else { RawStream.Write(buffer, offset, count); } }