Skip to end of banner
Go to start of banner

fileRead

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Description

Reads a byte array from a file until it reaches the specified length or until the EOF is reached

Parameters

Return Type

byte []

Throws

string

  • "read_error:" followed by the error message if the read fails

  • "eof" if you try to read past the EOF

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

Filter by label

There are no items with the selected labels at this time.

  • No labels