예제 #1
0
 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);
     }
 }