5 writes to _deflateStream
System.IO.Compression (5)
24 references to _deflateStream
System.IO.Compression (24)
System\IO\Compression\GZipStream.cs (24)
47public override bool CanRead => _deflateStream?.CanRead ?? false;
49public override bool CanWrite => _deflateStream?.CanWrite ?? false;
51public override bool CanSeek => _deflateStream?.CanSeek ?? false;
67_deflateStream.Flush();
83return _deflateStream.ReadByte();
90_deflateStream.EndRead(asyncResult);
95return _deflateStream.Read(buffer, offset, count);
110return _deflateStream.ReadCore(buffer);
118_deflateStream.EndWrite(asyncResult);
123_deflateStream.Write(buffer, offset, count);
138_deflateStream.WriteCore(new ReadOnlySpan<byte>(in value));
154_deflateStream.WriteCore(buffer);
161_deflateStream.CopyTo(destination, bufferSize);
168if (disposing && _deflateStream != null)
170_deflateStream.Dispose();
187DeflateStream? ds = _deflateStream;
197public Stream BaseStream => _deflateStream?.BaseStream!;
202return _deflateStream.ReadAsync(buffer, offset, count, cancellationToken);
217return _deflateStream.ReadAsyncMemory(buffer, cancellationToken);
224return _deflateStream.WriteAsync(buffer, offset, count, cancellationToken);
239return _deflateStream.WriteAsyncMemory(buffer, cancellationToken);
246return _deflateStream.FlushAsync(cancellationToken);
252return _deflateStream.CopyToAsync(destination, bufferSize, cancellationToken);
257ObjectDisposedException.ThrowIf(_deflateStream is null, this);