C# Class logv.http.AsyncStreamCopier

Copies data from one stream into another using the async pattern. Copies are done in 4k blocks.
Afficher le fichier Open project: coolya/logv.http Class Usage Examples

Méthodes publiques

Méthode Description
AsyncStreamCopier ( Stream input, Stream output ) : System

Initializes a new instance of the AsyncStreamCopier class.

Copy ( ) : void

Starts the copying

Private Methods

Méthode Description
GetData ( ) : void
RaiseComplete ( ) : void
ReadComplete ( IAsyncResult result ) : void

Method Details

AsyncStreamCopier() public méthode

Initializes a new instance of the AsyncStreamCopier class.
public AsyncStreamCopier ( Stream input, Stream output ) : System
input Stream The input.
output Stream The output.
Résultat System

Copy() public méthode

Starts the copying
public Copy ( ) : void
Résultat void