FDO .NET API Reference Feature Data Objects
System::Int32 OSGeo::FDO::Common::Io::IoCharStreamReader::ReadNext ( System::Char  buffer[],
System::Int32  offset 
)

Reads in the next block of items. Use ReadNext( buffer) to read in the entire stream. The caller is responsible to allocate a buffer large enough to store data.

Parameters:
buffer Output array holding data read in.
offset Input index in the array indicating the beginning of the output buffer. If zero, then the buffer is reused. If the end of the buffer, then read in appending mode. Throws "out-of-bounds" exception if not in this range.
Returns:
Returns the number of items actually read in. When 0 (zero) then the end-of-stream was reached.


Comments or suggestions? Send us feedback.