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();
936
Debug.Assert(
_deflateStream
._inflater != null);
938
while (!
_deflateStream
._inflater.Finished())
940
int bytesRead =
_deflateStream
._inflater.Inflate(_arrayPoolBuffer, 0, _arrayPoolBuffer.Length);
945
else if (
_deflateStream
._inflater.NeedsInput())
953
await
_deflateStream
._stream.CopyToAsync(this, _arrayPoolBuffer.Length, _cancellationToken).ConfigureAwait(false);
954
if (s_useStrictValidation && !
_deflateStream
._inflater.Finished())
961
_deflateStream
.AsyncOperationCompleting();
972
Debug.Assert(
_deflateStream
._inflater != null);
974
while (!
_deflateStream
._inflater.Finished())
976
int bytesRead =
_deflateStream
._inflater.Inflate(_arrayPoolBuffer, 0, _arrayPoolBuffer.Length);
981
else if (
_deflateStream
._inflater.NeedsInput())
989
_deflateStream
._stream.CopyTo(this, _arrayPoolBuffer.Length);
990
if (s_useStrictValidation && !
_deflateStream
._inflater.Finished())
1005
_deflateStream
.EnsureNotDisposed();
1022
_deflateStream
.EnsureNotDisposed();
1029
Debug.Assert(
_deflateStream
._inflater is not null);
1032
_deflateStream
._inflater.SetInput(buffer);
1035
while (!
_deflateStream
._inflater.Finished())
1037
int bytesRead =
_deflateStream
._inflater.Inflate(new Span<byte>(_arrayPoolBuffer));
1042
else if (
_deflateStream
._inflater.NeedsInput())
1053
_deflateStream
.EnsureNotDisposed();
1066
Debug.Assert(
_deflateStream
._inflater != null);
1068
_deflateStream
._inflater.SetInput(buffer, offset, count);
1071
while (!
_deflateStream
._inflater.Finished())
1073
int bytesRead =
_deflateStream
._inflater.Inflate(new Span<byte>(_arrayPoolBuffer));
1078
else if (
_deflateStream
._inflater.NeedsInput())