5 writes to _deflateStream
System.IO.Compression (5)
24 references to _deflateStream
System.IO.Compression (24)
System\IO\Compression\ZLibStream.cs (24)
61public override bool CanRead => _deflateStream?.CanRead ?? false;
64public override bool CanWrite => _deflateStream?.CanWrite ?? false;
83_deflateStream.Flush();
92return _deflateStream.FlushAsync(cancellationToken);
106return _deflateStream.ReadByte();
119return _deflateStream.BeginRead(buffer, offset, count, asyncCallback, asyncState);
126_deflateStream.EndRead(asyncResult);
136return _deflateStream.Read(buffer, offset, count);
145return _deflateStream.ReadCore(buffer);
157return _deflateStream.ReadAsync(buffer, offset, count, cancellationToken);
167return _deflateStream.ReadAsyncMemory(buffer, cancellationToken);
180return _deflateStream.BeginWrite(buffer, offset, count, asyncCallback, asyncState);
186_deflateStream.EndWrite(asyncResult);
195_deflateStream.Write(buffer, offset, count);
203_deflateStream.WriteCore(buffer);
215return _deflateStream.WriteAsync(buffer, offset, count, cancellationToken);
225return _deflateStream.WriteAsyncMemory(buffer, cancellationToken);
233_deflateStream.WriteByte(value);
242_deflateStream.CopyTo(destination, bufferSize);
253return _deflateStream.CopyToAsync(destination, bufferSize, cancellationToken);
264_deflateStream?.Dispose();
278DeflateStream? ds = _deflateStream;
289public Stream BaseStream => _deflateStream?.BaseStream!;
294ObjectDisposedException.ThrowIf(_deflateStream is null, this);