C# Class ModernHttpClient.ByteArrayListStream

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

Public Methods

Method Description
AddByteArray ( byte arrayToAdd ) : void
ByteArrayListStream ( ) : System
Complete ( ) : void
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
SetException ( Exception ex ) : void
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void

Method Details

AddByteArray() public method

public AddByteArray ( byte arrayToAdd ) : void
arrayToAdd byte
return void

ByteArrayListStream() public method

public ByteArrayListStream ( ) : System
return System

Complete() public method

public Complete ( ) : void
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

SetException() public method

public SetException ( Exception ex ) : void
ex System.Exception
return void

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