1 write to _deflateStream
System.IO.Compression (1)
System\IO\Compression\DeflateZLib\DeflateStream.cs (1)
925_deflateStream = deflateStream;
27 references to _deflateStream
System.IO.Compression (27)
System\IO\Compression\DeflateZLib\DeflateStream.cs (27)
933_deflateStream.AsyncOperationStarting(); 936Debug.Assert(_deflateStream._inflater != null); 938while (!_deflateStream._inflater.Finished()) 940int bytesRead = _deflateStream._inflater.Inflate(_arrayPoolBuffer, 0, _arrayPoolBuffer.Length); 945else if (_deflateStream._inflater.NeedsInput()) 953await _deflateStream._stream.CopyToAsync(this, _arrayPoolBuffer.Length, _cancellationToken).ConfigureAwait(false); 954if (s_useStrictValidation && !_deflateStream._inflater.Finished()) 961_deflateStream.AsyncOperationCompleting(); 972Debug.Assert(_deflateStream._inflater != null); 974while (!_deflateStream._inflater.Finished()) 976int bytesRead = _deflateStream._inflater.Inflate(_arrayPoolBuffer, 0, _arrayPoolBuffer.Length); 981else if (_deflateStream._inflater.NeedsInput()) 989_deflateStream._stream.CopyTo(this, _arrayPoolBuffer.Length); 990if (s_useStrictValidation && !_deflateStream._inflater.Finished()) 1005_deflateStream.EnsureNotDisposed(); 1022_deflateStream.EnsureNotDisposed(); 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()) 1053_deflateStream.EnsureNotDisposed(); 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())