Reads in the next block of items. The caller is responsible to allocate a buffer large enough to store data.
- Parameters:
-
| buffer | Output array holding data read in. |
- Returns:
- Returns the number of items actually read in. When 0 (zero) then the end-of-stream was reached.