Example #1
0
 private void end()
 {
     if (z == null)
     {
         return;
     }
     if (_wantCompress)
     {
         _z.EndDeflate();
     }
     else
     {
         _z.EndInflate();
     }
     _z = null;
 }
Example #2
0
 private void end()
 {
     if (z == null)
     {
         return;
     }
     if (_wantCompress)
     {
         _z.EndDeflate();
     }
     else
     {
         _z.EndInflate();
     }
     _z = null;
     BufferPool.Release(_workingBuffer);
     _workingBuffer = null;
 }