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)
267
Debug.Assert(
_inflater
!= null);
268
return
_inflater
.Inflate(out b) ? b : base.ReadByte();
297
Debug.Assert(
_inflater
!= null);
304
bytesRead =
_inflater
.Inflate(buffer);
312
if (
_inflater
.NeedsInput())
322
if (s_useStrictValidation && !buffer.IsEmpty && !
_inflater
.Finished() &&
_inflater
.NonEmptyInput())
334
_inflater
.SetInput(_buffer, 0, n);
359
_inflater
!.Finished() &&
360
(!
_inflater
.IsGzipStream() || !
_inflater
.NeedsInput());
435
Debug.Assert(
_inflater
!= null);
449
bytesRead =
_inflater
.Inflate(buffer.Span);
457
if (
_inflater
.NeedsInput())
467
if (s_useStrictValidation && !
_inflater
.Finished() &&
_inflater
.NonEmptyInput() && !buffer.IsEmpty)
479
_inflater
.SetInput(_buffer, 0, n);
725
_inflater
?.Dispose();
778
_inflater
?.Dispose();
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())
954
if (s_useStrictValidation && !_deflateStream.
_inflater
.Finished())
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())
990
if (s_useStrictValidation && !_deflateStream.
_inflater
.Finished())
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())
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())