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();
62
Debug.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;
87
ZLibNative.ErrorCode errorCode =
_state
.Inflate(ZLibNative.FlushCode.NoFlush);
89
bytesConsumed = source.Length - (int)
_state
.AvailIn;
90
bytesWritten = destination.Length - (int)
_state
.AvailOut;
94
ZLibNative.ErrorCode.Ok or ZLibNative.ErrorCode.BufError =>
_state
.AvailOut == 0
122
Debug.Assert(
_state
is not null);
124
_state
.InflateReset2_(_windowBits);