|
|
| MF_API int MFFile_Write |
( |
MFFile * |
pFile, |
|
|
const void * |
pBuffer, |
|
|
size_t |
bytes, |
|
|
bool |
async = false |
|
) |
| |
Writes data to a file.
- Parameters
-
| pFile | Pointer to an open file. |
| pBuffer | Pointer to the data to be written. |
| bytes | Number of bytes to write. |
| async | If true, the write will be performed asyncrenously, putting the file into a 'busy' state. |
- Returns
- The number of bytes written.
|