C# Class Microsoft.AspNetCore.Buffering.BufferingWriteStream

Inheritance: Stream
Afficher le fichier Open project: aspnet/BasicMiddleware Class Usage Examples

Méthodes publiques

Méthode Description
BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
BufferingWriteStream ( Stream innerStream ) : System
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
FlushAsync ( CancellationToken cancellationToken ) : Task
Read ( byte buffer, int offset, int count ) : int
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, CancellationToken cancellationToken ) : Task

Private Methods

Méthode Description
DisableBuffering ( ) : void
DisableBufferingAsync ( CancellationToken cancellationToken ) : Task

Method Details

BeginWrite() public méthode

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

BufferingWriteStream() public méthode

public BufferingWriteStream ( Stream innerStream ) : System
innerStream Stream
Résultat System

EndWrite() public méthode

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

FlushAsync() public méthode

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

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count 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

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