1 write to _zlibStream
System.IO.Compression (1)
System\IO\Compression\DeflateZLib\Inflater.cs (1)
245error = ZLibNative.CreateZLibStreamForInflate(out _zlibStream, windowBits);
26 references to _zlibStream
System.IO.Compression (26)
System\IO\Compression\DeflateZLib\Inflater.cs (26)
45public int AvailableOutput => (int)_zlibStream.AvailOut; 108_zlibStream.AvailIn = 0; 116if (0 == _zlibStream.AvailIn && IsInputBufferHandleAllocated) 152IntPtr nextInPtr = _zlibStream.NextIn; 154uint nextAvailIn = _zlibStream.AvailIn; 163_zlibStream.Dispose(); 169_zlibStream.NextIn = nextInPtr; 170_zlibStream.AvailIn = nextAvailIn; 179public bool NeedsInput() => _zlibStream.AvailIn == 0; 204_zlibStream.NextIn = (IntPtr)_inputBufferHandle.Pointer; 205_zlibStream.AvailIn = (uint)inputBuffer.Length; 216_zlibStream.Dispose(); 239[MemberNotNull(nameof(_zlibStream))] 258throw new ZLibException(SR.ZLibErrorNotEnoughMemory, "inflateInit2_", (int)error, _zlibStream.GetErrorMessage()); 261throw new ZLibException(SR.ZLibErrorVersionMismatch, "inflateInit2_", (int)error, _zlibStream.GetErrorMessage()); 264throw new ZLibException(SR.ZLibErrorIncorrectInitParameters, "inflateInit2_", (int)error, _zlibStream.GetErrorMessage()); 267throw new ZLibException(SR.ZLibErrorUnexpected, "inflateInit2_", (int)error, _zlibStream.GetErrorMessage()); 278_zlibStream.NextOut = (IntPtr)bufPtr; 279_zlibStream.AvailOut = (uint)length; 282bytesRead = length - (int)_zlibStream.AvailOut; 296errC = _zlibStream.Inflate(flushCode); 312throw new ZLibException(SR.ZLibErrorNotEnoughMemory, "inflate_", (int)errC, _zlibStream.GetErrorMessage()); 318throw new ZLibException(SR.ZLibErrorInconsistentStream, "inflate_", (int)errC, _zlibStream.GetErrorMessage()); 321throw new ZLibException(SR.ZLibErrorUnexpected, "inflate_", (int)errC, _zlibStream.GetErrorMessage()); 334_zlibStream.AvailIn = 0; 335_zlibStream.NextIn = ZLibNative.ZNullPtr;