C# Class System.IO.ProxyStream

Inheritance: Stream
Afficher le fichier Open project: soywiz/NodeNetAsync Class Usage Examples

Méthodes publiques

Свойство Type Description
InternalPosition long
ParentStream Stream

Protected Properties

Свойство Type Description
CloseParent bool

Méthodes publiques

Méthode Description
Close ( ) : void
Flush ( ) : void
ProxyStream ( Stream ParentStream, bool CloseParent ) : System
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, System cancellationToken ) : Task
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() protected méthode

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

Flush() public méthode

public Flush ( ) : void
Résultat void

ProxyStream() public méthode

public ProxyStream ( Stream ParentStream, bool CloseParent ) : System
ParentStream Stream
CloseParent bool
Résultat System

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

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

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

Property Details

CloseParent protected_oe property

protected bool CloseParent
Résultat bool

InternalPosition public_oe property

public long InternalPosition
Résultat long

ParentStream public_oe property

public Stream ParentStream
Résultat Stream