|
#define ReadBytes |
( |
_handle, |
|
|
_len, |
|
|
_buf, |
|
|
_result |
|
) |
__readBytes(_handle, _len, _buf, _result) |
Read bytes from a file.
Read the specified number of bytes from the file associated with the specified handle. The handle parameter must be a variable. The length parameter must be a variable. The buf parameter must be an array or a string variable. The actual number of bytes read is returned in the length parameter.
- Parameters:
-
| _handle | The file handle. |
| _len | The number of bytes to read. Returns the number of bytes actually read. |
| _buf | The byte array where the data is stored on output. |
| _result | The function call result. See Loader module error codes. |
|