2 writes to _state
System.IO.Compression (2)
System\IO\Compression\DeflateDecoder.cs (2)
30_state = ZLibNative.ZLibStreamHandle.CreateForInflate(windowBits); 40_state = null;
10 references to _state
System.IO.Compression (10)
System\IO\Compression\DeflateDecoder.cs (10)
39_state?.Dispose(); 59Debug.Assert(_state is not null); 79_state.NextIn = (IntPtr)inputPtr; 80_state.AvailIn = (uint)source.Length; 81_state.NextOut = (IntPtr)outputPtr; 82_state.AvailOut = (uint)destination.Length; 84ZLibNative.ErrorCode errorCode = _state.Inflate(ZLibNative.FlushCode.NoFlush); 86bytesConsumed = source.Length - (int)_state.AvailIn; 87bytesWritten = destination.Length - (int)_state.AvailOut; 91ZLibNative.ErrorCode.Ok or ZLibNative.ErrorCode.BufError => _state.AvailOut == 0