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)
221Debug.Assert(_deflater != null && _buffer != null); 231flushSuccessful = _deflater.Flush(_buffer, out compressedBytes); 551Debug.Assert(_deflater != null); 559_deflater.SetInput(bufferPtr, buffer.Length); 568Debug.Assert(_deflater != null && _buffer != null); 569while (!_deflater.NeedsInput()) 571int compressedBytes = _deflater.GetDeflateOutput(_buffer); 587Debug.Assert(_deflater != null && _buffer != null); 593flushSuccessful = _deflater.Flush(_buffer, out compressedBytes); 618Debug.Assert(_deflater != null && _buffer != null); 634finished = _deflater.Finish(_buffer, out compressedBytes); 650finished = _deflater.Finish(_buffer, out _); 665Debug.Assert(_deflater != null && _buffer != null); 681finished = _deflater.Finish(_buffer, out compressedBytes); 697finished = _deflater.Finish(_buffer, out _); 724_deflater?.Dispose(); 777_deflater?.Dispose(); 849Debug.Assert(_deflater != null); 850_deflater.SetInput(buffer); 868Debug.Assert(_deflater != null && _buffer != null); 869while (!_deflater.NeedsInput()) 871int compressedBytes = _deflater.GetDeflateOutput(_buffer);