C# Class System.Net.BufferedReadStream

Inheritance: System.Net.DelegatedStream
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
EndRead ( IAsyncResult asyncResult ) : int
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
ReadByte ( ) : int

Private Methods

Méthode Description
Append ( byte buffer, int offset, int count ) : void
BufferedReadStream ( Stream stream ) : System
BufferedReadStream ( Stream stream, bool readMore ) : System
Push ( byte buffer, int offset, int count ) : void
ReadMoreAsync ( int bytesAlreadyRead, byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task

Method Details

BeginRead() public méthode

public BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
Résultat IAsyncResult

EndRead() public méthode

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Résultat int

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, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
Résultat Task

ReadByte() public méthode

public ReadByte ( ) : int
Résultat int