Mount Fuji Engine  0.8b
MF_API size_t MFFile_StdRead ( void *  buffer,
size_t  size,
size_t  count,
void *  stream 
)

Reads data from a file.

Parameters
bufferPointer to a buffer where the read data will be stored.
sizeNumber of bytes in a block.
countNumber of blocks to read.
streamHandle to an open file.
Returns
The number of bytes read.
Remarks
This function complies with the stdio function signature (can be used as callbacks to many libs and API's).