Reads in the next block of items. Use ReadNext( buffer) to read in the entire stream.
- Parameters:
-
| buffer | Buffer holding data read in |
| offset | Index in the buffer indicating the beginning of the output buffer. The caller is responsable for allocating a buffer of a proper size. |
| count | Number of items to be read in. If -1 read the entire stream. Throws "invalid parameter" exception if not a positive value or -1. |
- Returns:
- Returns the number of items actually read in. When 0 (zero) then the end-of-stream was reached.
Implemented in FdoIoObjectStreamReader< T >, and FdoIoObjectStreamReader< unsigned char >.