FDO API Reference Feature Data Objects

virtual FDO_API_COMMON FdoSize FdoIoStream::Read FdoByte buffer,
FdoSize  count
[pure virtual]
 

reads the number of bytes indicated by count into the given buffer, or the number of bytes after the current stream position, whichever is less. The stream�s current position is moved ahead by the number of bytes read.

Parameters:
buffer Output read into this buffer
count Input read this number of bytes into the buffer. The caller is responsible for allocating a buffer that is large enough to hold the bytes.
Returns:
Returns the number of bytes that were read. 0 if already at the end of the stream.

Implemented in FdoIoFileStream, and FdoIoMemoryStream.


Comments or suggestions? Send us feedback.