Reset() private method

private Reset ( ) : uint
return uint
Beispiel #1
0
 internal int Reset()
 {
     _codec.TotalBytesIn = _codec.TotalBytesOut = 0;
     _codec.Message      = null;
     mode = HandleRfc1950HeaderBytes ? InflateManagerMode.METHOD : InflateManagerMode.BLOCKS;
     blocks.Reset();
     return(ZlibConstants.Z_OK);
 }
        InflateBlocks blocks; // current inflate_blocks state

        internal void Reset()
        {
            done = false;
            blocks.Reset();
        }