C# Class ModernHttpClient.ConcatenatingStream

Inheritance: Stream
Datei anzeigen Open project: fpt-software/Wordpress-Client

Private Properties

Property Type Description
EndOfStream void
readInternal int

Public Methods

Method Description
ConcatenatingStream ( IEnumerable source, bool closeStreams, Task blockUntil = null, System.Action onDispose = null ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
EndOfStream ( ) : void
readInternal ( byte buffer, int offset, int count, CancellationToken ct = default(CancellationToken) ) : int

Method Details

ConcatenatingStream() public method

public ConcatenatingStream ( IEnumerable source, bool closeStreams, Task blockUntil = null, System.Action onDispose = null ) : System
source IEnumerable
closeStreams bool
blockUntil Task
onDispose System.Action
return System

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadAsync() public method

public ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
return Task

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

WriteByte() public method

public WriteByte ( byte value ) : void
value byte
return void