ABBYY Mobile OCR Engine 4

Go to: Contents | Native Library API Reference | Structures | CFineImageInputStream

Read Method of CFineImageInputStream Structure

This method loads an image from the input stream.

C Syntax
int (*Read)( 
   void* inputStream,  
   BYTE* buffer,  
   int   size
);

Parameters

inputStream
A pointer to the CFineImageInputStream object.
buffer
Data from the input stream is written to this parameter.
size
The size of the loading data that are stored in the buffer parameter.

Return value

It returns the number of the loaded bytes. The return value can be less than the size parameter. If the value is less or equal to zero, no data have been loaded.

See also

CFineImageInputStream