Ionic.Zlib.InflateBlocks.Reset C# (CSharp) Метод

Reset() приватный Метод

private Reset ( ) : uint
Результат uint
        internal uint Reset()
        {
            uint oldCheck = check;
            mode = InflateBlockMode.TYPE;
            bitk = 0;
            bitb = 0;
            readAt = writeAt = 0;

            if (checkfn != null)
                _codec._Adler32 = check = Adler.Adler32(0, null, 0, 0);
            return oldCheck;
        }

Usage Example

Пример #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);
 }
All Usage Examples Of Ionic.Zlib.InflateBlocks::Reset