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