3 writes to _inflater
System.IO.Compression (3)
System\IO\Compression\DeflateZLib\DeflateStream.cs (3)
82_inflater = new Inflater(windowBits, uncompressedSize); 730_inflater = null; 783_inflater = null;
39 references to _inflater
System.IO.Compression (39)
System\IO\Compression\DeflateZLib\DeflateStream.cs (39)
267Debug.Assert(_inflater != null); 268return _inflater.Inflate(out b) ? b : base.ReadByte(); 297Debug.Assert(_inflater != null); 304bytesRead = _inflater.Inflate(buffer); 312if (_inflater.NeedsInput()) 322if (s_useStrictValidation && !buffer.IsEmpty && !_inflater.Finished() && _inflater.NonEmptyInput()) 334_inflater.SetInput(_buffer, 0, n); 359_inflater!.Finished() && 360(!_inflater.IsGzipStream() || !_inflater.NeedsInput()); 435Debug.Assert(_inflater != null); 449bytesRead = _inflater.Inflate(buffer.Span); 457if (_inflater.NeedsInput()) 467if (s_useStrictValidation && !_inflater.Finished() && _inflater.NonEmptyInput() && !buffer.IsEmpty) 479_inflater.SetInput(_buffer, 0, n); 725_inflater?.Dispose(); 778_inflater?.Dispose(); 936Debug.Assert(_deflateStream._inflater != null); 938while (!_deflateStream._inflater.Finished()) 940int bytesRead = _deflateStream._inflater.Inflate(_arrayPoolBuffer, 0, _arrayPoolBuffer.Length); 945else if (_deflateStream._inflater.NeedsInput()) 954if (s_useStrictValidation && !_deflateStream._inflater.Finished()) 972Debug.Assert(_deflateStream._inflater != null); 974while (!_deflateStream._inflater.Finished()) 976int bytesRead = _deflateStream._inflater.Inflate(_arrayPoolBuffer, 0, _arrayPoolBuffer.Length); 981else if (_deflateStream._inflater.NeedsInput()) 990if (s_useStrictValidation && !_deflateStream._inflater.Finished()) 1029Debug.Assert(_deflateStream._inflater is not null); 1032_deflateStream._inflater.SetInput(buffer); 1035while (!_deflateStream._inflater.Finished()) 1037int bytesRead = _deflateStream._inflater.Inflate(new Span<byte>(_arrayPoolBuffer)); 1042else if (_deflateStream._inflater.NeedsInput()) 1066Debug.Assert(_deflateStream._inflater != null); 1068_deflateStream._inflater.SetInput(buffer, offset, count); 1071while (!_deflateStream._inflater.Finished()) 1073int bytesRead = _deflateStream._inflater.Inflate(new Span<byte>(_arrayPoolBuffer)); 1078else if (_deflateStream._inflater.NeedsInput())