Title here
Summary here
public class NoFlushStream : Stream, IDisposable
public NoFlushStream(Stream inner)
Type | Name | Description |
---|---|---|
Stream | inner |
public override bool CanRead { get; }
Type | Description |
---|---|
bool |
public override bool CanSeek { get; }
Type | Description |
---|---|
bool |
public override bool CanTimeout { get; }
Type | Description |
---|---|
bool |
public override bool CanWrite { get; }
Type | Description |
---|---|
bool |
public override long Length { get; }
Type | Description |
---|---|
long |
public override long Position { get; set; }
Type | Description |
---|---|
long |
public override int ReadTimeout { get; set; }
Type | Description |
---|---|
int |
public override int WriteTimeout { get; set; }
Type | Description |
---|---|
int |
public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
Type | Name | Description |
---|---|---|
byte[] | buffer | |
int | offset | |
int | count | |
AsyncCallback | callback | |
object | state |
Type | Description |
---|---|
IAsyncResult |
public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
Type | Name | Description |
---|---|---|
byte[] | buffer | |
int | offset | |
int | count | |
AsyncCallback | callback | |
object | state |
Type | Description |
---|---|
IAsyncResult |
public override void Close()
public override Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
Stream | destination | |
int | bufferSize | |
CancellationToken | cancellationToken |
Type | Description |
---|---|
Task |
public override int EndRead(IAsyncResult asyncResult)
Type | Name | Description |
---|---|---|
IAsyncResult | asyncResult |
Type | Description |
---|---|
int |
public override void EndWrite(IAsyncResult asyncResult)
Type | Name | Description |
---|---|---|
IAsyncResult | asyncResult |
public override void Flush()
public override Task FlushAsync(CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken |
Type | Description |
---|---|
Task |
public override int Read(byte[] buffer, int offset, int count)
Type | Name | Description |
---|---|---|
byte[] | buffer | |
int | offset | |
int | count |
Type | Description |
---|---|
int |
public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
byte[] | buffer | |
int | offset | |
int | count | |
CancellationToken | cancellationToken |
Type | Description |
---|---|
Task<int> |
public override int ReadByte()
Type | Description |
---|---|
int |
public override long Seek(long offset, SeekOrigin origin)
Type | Name | Description |
---|---|---|
long | offset | |
SeekOrigin | origin |
Type | Description |
---|---|
long |
public override void SetLength(long value)
Type | Name | Description |
---|---|---|
long | value |
public override void Write(byte[] buffer, int offset, int count)
Type | Name | Description |
---|---|---|
byte[] | buffer | |
int | offset | |
int | count |
public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
byte[] | buffer | |
int | offset | |
int | count | |
CancellationToken | cancellationToken |
Type | Description |
---|---|
Task |
public override void WriteByte(byte value)
Type | Name | Description |
---|---|---|
byte | value |