1 write to _stream
System.IO.Compression (1)
System\IO\Compression\PositionPreservingWriteOnlyStreamWrapper.cs (1)
20
_stream
= stream;
16 references to _stream
System.IO.Compression (16)
System\IO\Compression\PositionPreservingWriteOnlyStreamWrapper.cs (16)
35
_stream
.Write(buffer, offset, count);
41
_stream
.Write(buffer);
47
return
_stream
.BeginWrite(buffer, offset, count, callback, state);
50
public override void EndWrite(IAsyncResult asyncResult) =>
_stream
.EndWrite(asyncResult);
55
_stream
.WriteByte(value);
61
return
_stream
.WriteAsync(buffer, offset, count, cancellationToken);
67
return
_stream
.WriteAsync(buffer, cancellationToken);
70
public override bool CanTimeout =>
_stream
.CanTimeout;
73
get { return
_stream
.ReadTimeout; }
74
set {
_stream
.ReadTimeout = value; }
78
get { return
_stream
.WriteTimeout; }
79
set {
_stream
.WriteTimeout = value; }
82
public override void Flush() =>
_stream
.Flush();
83
public override Task FlushAsync(CancellationToken cancellationToken) =>
_stream
.FlushAsync(cancellationToken);
87
_stream
.Close();
93
_stream
.Dispose();