3 writes to _deflater
System.IO.Compression (3)
System\IO\Compression\DeflateZLib\DeflateStream.cs (3)
117
_deflater
= new Deflater(compressionLevel, strategy, windowBits, GetMemLevel(compressionLevel));
729
_deflater
= null;
782
_deflater
= null;
22 references to _deflater
System.IO.Compression (22)
System\IO\Compression\DeflateZLib\DeflateStream.cs (22)
221
Debug.Assert(
_deflater
!= null && _buffer != null);
231
flushSuccessful =
_deflater
.Flush(_buffer, out compressedBytes);
551
Debug.Assert(
_deflater
!= null);
559
_deflater
.SetInput(bufferPtr, buffer.Length);
568
Debug.Assert(
_deflater
!= null && _buffer != null);
569
while (!
_deflater
.NeedsInput())
571
int compressedBytes =
_deflater
.GetDeflateOutput(_buffer);
587
Debug.Assert(
_deflater
!= null && _buffer != null);
593
flushSuccessful =
_deflater
.Flush(_buffer, out compressedBytes);
618
Debug.Assert(
_deflater
!= null && _buffer != null);
634
finished =
_deflater
.Finish(_buffer, out compressedBytes);
650
finished =
_deflater
.Finish(_buffer, out _);
665
Debug.Assert(
_deflater
!= null && _buffer != null);
681
finished =
_deflater
.Finish(_buffer, out compressedBytes);
697
finished =
_deflater
.Finish(_buffer, out _);
724
_deflater
?.Dispose();
777
_deflater
?.Dispose();
849
Debug.Assert(
_deflater
!= null);
850
_deflater
.SetInput(buffer);
868
Debug.Assert(
_deflater
!= null && _buffer != null);
869
while (!
_deflater
.NeedsInput())
871
int compressedBytes =
_deflater
.GetDeflateOutput(_buffer);