2 writes to _state
System.IO.Compression (2)
System\IO\Compression\DeflateDecoder.cs (2)
32_state = ZLibNative.ZLibStreamHandle.CreateForInflate(windowBits); 42_state = null;
12 references to _state
System.IO.Compression (12)
System\IO\Compression\DeflateDecoder.cs (12)
41_state?.Dispose(); 62Debug.Assert(_state is not null); 82_state.NextIn = (IntPtr)inputPtr; 83_state.AvailIn = (uint)source.Length; 84_state.NextOut = (IntPtr)outputPtr; 85_state.AvailOut = (uint)destination.Length; 87ZLibNative.ErrorCode errorCode = _state.Inflate(ZLibNative.FlushCode.NoFlush); 89bytesConsumed = source.Length - (int)_state.AvailIn; 90bytesWritten = destination.Length - (int)_state.AvailOut; 94ZLibNative.ErrorCode.Ok or ZLibNative.ErrorCode.BufError => _state.AvailOut == 0 122Debug.Assert(_state is not null); 124_state.InflateReset2_(_windowBits);