public static Result<int> Read(this Stream stream, Byte[] buffer, int offset, int count, Result<int> result);
Asynchronously read from a System.IO.Stream
Parameters
| Name | Type | Description |
| stream | Stream | Source System.IO.Stream |
| buffer | Byte[] | Byte array to fill from the source |
| offset | int | Position in buffer to start writing to |
| count | int | Number of bytes to read from the System.IO.Stream |
| result | Result<int> | The MindTouch.Tasking.Result instance to be returned by the call. |
Returns
Synchronization handle for the number of bytes read.