예제 #1
0
 internal void Reset()
 {
     mode = 2;
     input.Reset();
     output.Reset();
     dynHeader   = null;
     litlenTree  = null;
     distTree    = null;
     isLastBlock = false;
     adler       = 1;
 }
예제 #2
0
 /// <summary>
 ///   Resets the inflater so that a new stream can be decompressed.  All
 ///   pending input and output will be discarded.
 /// </summary>
 public void Reset()
 {
     mode = noHeader ? DECODE_BLOCKS : DECODE_HEADER;
     input.Reset();
     outputWindow.Reset();
     dynHeader   = null;
     litlenTree  = null;
     distTree    = null;
     isLastBlock = false;
     adler.Reset();
 }
예제 #3
0
 public void Reset()
 {
     mode     = (noHeader ? 2 : 0);
     totalIn  = 0L;
     totalOut = 0L;
     input.Reset();
     outputWindow.Reset();
     dynHeader   = null;
     litlenTree  = null;
     distTree    = null;
     isLastBlock = false;
     adler.Reset();
 }
예제 #4
0
 /// <summary>
 /// Resets the inflater so that a new stream can be decompressed.  All
 /// pending input and output will be discarded.
 /// </summary>
 public void Reset()
 {
     mode     = noHeader ? State.Blocks : State.Header;
     totalIn  = 0;
     TotalOut = 0;
     input.Reset();
     outputWindow.Reset();
     dynHeader   = null;
     litlenTree  = null;
     distTree    = null;
     isLastBlock = false;
     adler.Reset();
 }
예제 #5
0
 /// <summary>
 /// Resets the inflater so that a new stream can be decompressed.  All
 /// pending input and output will be discarded.
 /// </summary>
 public void Reset()
 {
     mode     = noHeader ? DECODE_BLOCKS : DECODE_HEADER;
     totalIn  = 0;
     totalOut = 0;
     input.Reset();
     outputWindow.Reset();
     dynHeader   = null;
     litlenTree  = null;
     distTree    = null;
     isLastBlock = false;
     if (adler != null)
     {
         adler.Reset();
     }
 }