1 write to _zlibStream
System (1)
sys\System\IO\compression\DeflaterZLib.cs (1)
231
errC = ZLibNative.CreateZLibStreamForDeflate(out
_zlibStream
, compressionLevel,
17 references to _zlibStream
System (17)
sys\System\IO\compression\DeflaterZLib.cs (17)
114
_zlibStream
.Dispose();
130
return 0 ==
_zlibStream
.AvailIn;
149
_zlibStream
.NextIn = _inputBufferHandle.AddrOfPinnedObject() + startIndex;
150
_zlibStream
.AvailIn = (uint) count;
170
if (0 ==
_zlibStream
.AvailIn && _inputBufferHandle.IsAllocated)
181
_zlibStream
.NextOut = (IntPtr) bufPtr;
182
_zlibStream
.AvailOut = (uint) outputBuffer.Length;
185
bytesRead = outputBuffer.Length - (int)
_zlibStream
.AvailOut;
216
_zlibStream
.AvailIn = 0;
217
_zlibStream
.NextIn = ZLibNative.ZNullPtr;
243
throw new ZLibException(SR.GetString(SR.ZLibErrorNotEnoughMemory), "deflateInit2_", (int) errC,
_zlibStream
.GetErrorMessage());
246
throw new ZLibException(SR.GetString(SR.ZLibErrorVersionMismatch), "deflateInit2_", (int) errC,
_zlibStream
.GetErrorMessage());
249
throw new ZLibException(SR.GetString(SR.ZLibErrorIncorrectInitParameters), "deflateInit2_", (int) errC,
_zlibStream
.GetErrorMessage());
252
throw new ZLibException(SR.GetString(SR.ZLibErrorUnexpected), "deflateInit2_", (int) errC,
_zlibStream
.GetErrorMessage());
262
errC =
_zlibStream
.Deflate(flushCode);
277
throw new ZLibException(SR.GetString(SR.ZLibErrorInconsistentStream), "deflate", (int) errC,
_zlibStream
.GetErrorMessage());
280
throw new ZLibException(SR.GetString(SR.ZLibErrorUnexpected), "deflate", (int) errC,
_zlibStream
.GetErrorMessage());