Reset() private method

private Reset ( ) : uint
return uint
コード例 #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);
 }
コード例 #2
0
        InflateBlocks blocks; // current inflate_blocks state

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