|
#define WriteBytes |
( |
_handle, |
|
|
_buf, |
|
|
_cnt, |
|
|
_result |
|
) |
__writeBytes(_handle, _buf, _cnt, _result) |
Write bytes to file.
Write the contents of the data array to the file associated with the specified handle. The handle parameter must be a variable. The cnt parameter must be a variable. The data parameter must be a byte array. The actual number of bytes written is returned in the cnt parameter.
- Parameters:
-
| _handle | The file handle. |
| _buf | The byte array or string containing the data to write. |
| _cnt | The number of bytes actually written to the file. |
| _result | The function call result. See Loader module error codes. |
|