NoFlushStream

Class NoFlushStream

Inheritance
NoFlushStream
Implements
Namespace: ETLBox.Helper
Assembly: ETLBox.dll
Syntax
    public class NoFlushStream : Stream, IDisposable

Constructors

NoFlushStream(Stream)

Declaration
    public NoFlushStream(Stream inner)
Parameters
TypeNameDescription
Streaminner

Properties

CanRead

Declaration
    public override bool CanRead { get; }
Property Value
TypeDescription
bool
Overrides

CanSeek

Declaration
    public override bool CanSeek { get; }
Property Value
TypeDescription
bool
Overrides

CanTimeout

Declaration
    public override bool CanTimeout { get; }
Property Value
TypeDescription
bool
Overrides

CanWrite

Declaration
    public override bool CanWrite { get; }
Property Value
TypeDescription
bool
Overrides

Length

Declaration
    public override long Length { get; }
Property Value
TypeDescription
long
Overrides

Position

Declaration
    public override long Position { get; set; }
Property Value
TypeDescription
long
Overrides

ReadTimeout

Declaration
    public override int ReadTimeout { get; set; }
Property Value
TypeDescription
int
Overrides

WriteTimeout

Declaration
    public override int WriteTimeout { get; set; }
Property Value
TypeDescription
int
Overrides

Methods

BeginRead(byte[], int, int, AsyncCallback, object)

Declaration
    public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
Parameters
TypeNameDescription
byte[]buffer
intoffset
intcount
AsyncCallbackcallback
objectstate
Returns
TypeDescription
IAsyncResult
Overrides

BeginWrite(byte[], int, int, AsyncCallback, object)

Declaration
    public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
Parameters
TypeNameDescription
byte[]buffer
intoffset
intcount
AsyncCallbackcallback
objectstate
Returns
TypeDescription
IAsyncResult
Overrides

Close()

Declaration
    public override void Close()
Overrides

CopyToAsync(Stream, int, CancellationToken)

Declaration
    public override Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken)
Parameters
TypeNameDescription
Streamdestination
intbufferSize
CancellationTokencancellationToken
Returns
TypeDescription
Task
Overrides

EndRead(IAsyncResult)

Declaration
    public override int EndRead(IAsyncResult asyncResult)
Parameters
TypeNameDescription
IAsyncResultasyncResult
Returns
TypeDescription
int
Overrides

EndWrite(IAsyncResult)

Declaration
    public override void EndWrite(IAsyncResult asyncResult)
Parameters
TypeNameDescription
IAsyncResultasyncResult
Overrides

Flush()

Declaration
    public override void Flush()
Overrides

FlushAsync(CancellationToken)

Declaration
    public override Task FlushAsync(CancellationToken cancellationToken)
Parameters
TypeNameDescription
CancellationTokencancellationToken
Returns
TypeDescription
Task
Overrides

Read(byte[], int, int)

Declaration
    public override int Read(byte[] buffer, int offset, int count)
Parameters
TypeNameDescription
byte[]buffer
intoffset
intcount
Returns
TypeDescription
int
Overrides

ReadAsync(byte[], int, int, CancellationToken)

Declaration
    public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Parameters
TypeNameDescription
byte[]buffer
intoffset
intcount
CancellationTokencancellationToken
Returns
TypeDescription
Task<int>
Overrides

ReadByte()

Declaration
    public override int ReadByte()
Returns
TypeDescription
int
Overrides

Seek(long, SeekOrigin)

Declaration
    public override long Seek(long offset, SeekOrigin origin)
Parameters
TypeNameDescription
longoffset
SeekOriginorigin
Returns
TypeDescription
long
Overrides

SetLength(long)

Declaration
    public override void SetLength(long value)
Parameters
TypeNameDescription
longvalue
Overrides

Write(byte[], int, int)

Declaration
    public override void Write(byte[] buffer, int offset, int count)
Parameters
TypeNameDescription
byte[]buffer
intoffset
intcount
Overrides

WriteAsync(byte[], int, int, CancellationToken)

Declaration
    public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Parameters
TypeNameDescription
byte[]buffer
intoffset
intcount
CancellationTokencancellationToken
Returns
TypeDescription
Task
Overrides

WriteByte(byte)

Declaration
    public override void WriteByte(byte value)
Parameters
TypeNameDescription
bytevalue
Overrides

Implements