Reset() публичный Метод

Reset internal state
public Reset ( ) : void
Результат void
Пример #1
0
 /// <summary>
 /// Resets the deflater.  The deflater acts afterwards as if it was
 /// just created with the same compression level and strategy as it
 /// had before.
 /// </summary>
 public void Reset()
 {
     state    = (noHeader ? BUSY_STATE : INIT_STATE);
     totalOut = 0;
     pending.Reset();
     engine.Reset();
 }
Пример #2
0
 public void Reset()
 {
     state    = (noZlibHeaderOrFooter ? 16 : 0);
     totalOut = 0L;
     pending.Reset();
     engine.Reset();
 }