C# Class LightNode.Server.UnclosableStream

Inheritance: Stream
Afficher le fichier Open project: neuecc/LightNode

Méthodes publiques

Méthode Description
CopyToAsync ( Stream destination, int bufferSize, System cancellationToken ) : System.Threading.Tasks.Task
Flush ( ) : void
FlushAsync ( System cancellationToken ) : System.Threading.Tasks.Task
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, System cancellationToken ) : Task
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
UnclosableStream ( Stream baseStream ) : System
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task
WriteByte ( byte value ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

CopyToAsync() public méthode

public CopyToAsync ( Stream destination, int bufferSize, System cancellationToken ) : System.Threading.Tasks.Task
destination Stream
bufferSize int
cancellationToken System
Résultat System.Threading.Tasks.Task

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

FlushAsync() public méthode

public FlushAsync ( System cancellationToken ) : System.Threading.Tasks.Task
cancellationToken System
Résultat System.Threading.Tasks.Task

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

ReadAsync() public méthode

public ReadAsync ( byte buffer, int offset, int count, System cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System
Résultat Task

ReadByte() public méthode

public ReadByte ( ) : int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

UnclosableStream() public méthode

public UnclosableStream ( Stream baseStream ) : System
baseStream Stream
Résultat System

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

WriteAsync() public méthode

public WriteAsync ( byte buffer, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task
buffer byte
offset int
count int
cancellationToken System
Résultat System.Threading.Tasks.Task

WriteByte() public méthode

public WriteByte ( byte value ) : void
value byte
Résultat void