Method | Description | |
---|---|---|
AsyncStreamReader ( int handle, Stream stream, int bufferSize ) : System.Collections.Generic |
Initialize the reader.
|
|
CreateFromStreams ( Stream streams, int bufferSize ) : System.Diagnostics.AsyncStreamReader[] |
Create a set of readers to read the specified streams, handles are assigned based upon the index of each stream in the provided array.
|
|
Start ( ) : void |
Start reading.
|
Method | Description | |
---|---|---|
Read ( ) : void |
Read from the stream until the end is reached.
|
public AsyncStreamReader ( int handle, Stream stream, int bufferSize ) : System.Collections.Generic | ||
handle | int | |
stream | Stream | Stream to read. |
bufferSize | int | Size of the buffer to read. |
return | System.Collections.Generic |
public static CreateFromStreams ( Stream streams, int bufferSize ) : System.Diagnostics.AsyncStreamReader[] | ||
streams | Stream | Streams to read. |
bufferSize | int | Size of the buffer to use to read each stream. |
return | System.Diagnostics.AsyncStreamReader[] |