Reads in the next block of items. Use ReadNext( buffer) to read in the entire stream. The caller is responsible to create/dispose the FdoArray.
- Parameters:
-
| buffer | FdoArray object holding data read in. Cannot be NULL |
| offset | Index in the array indicating the beginning of the output buffer. If the end of the buffer, then read in appending mode (store at the end). Otherwise, overwrite the buffer. Throws "invalid parameter" exception if not in this range. |
| 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 number of items read.
Implemented in FdoIoObjectStreamReader< T >, and FdoIoObjectStreamReader< unsigned char >.