/
fileRead
fileRead
Description
Reads a byte array from a file until it reaches the specified length or until the EOF is reached.
Parameters
Return Type
Byte []
Error Handling
Throws String
Errors:
"eof": if you read past the end of the file
"read_error": followed by the actual error if read fails
Example
Example 1
use "file";
int fid = open("C:\myData.dat");
runnerLog(read(fid, 10));
close(fid);
Returns: 61|54|32|85|45|33|21|11|40|06 (a byte array)
See also
, multiple selections available,
Related content
fileReadByte
fileReadByte
More like this
fileReadLine
fileReadLine
More like this
fileSeek
fileSeek
More like this
fileOpen
fileOpen
Read with this
fileRead
fileRead
More like this
String Functions
String Functions
Read with this