Mount Fuji Engine  0.8b
MF_API int MFFile_Write ( MFFile pFile,
const void *  pBuffer,
size_t  bytes,
bool  async = false 
)

Writes data to a file.

Parameters
pFilePointer to an open file.
pBufferPointer to the data to be written.
bytesNumber of bytes to write.
asyncIf true, the write will be performed asyncrenously, putting the file into a 'busy' state.
Returns
The number of bytes written.