IO::FS::READ

Source

READ reads from a given file.

Argument Type Default value Description
path String Path to file to read from.

Returns Binary File content in binary format.


IO::FS::WRITE

Source

WRITE writes the given data into the file.

Argument Type Default value Description
path String File path to write into.
data Binary Data to write.
params Object Additional parameters:
params.mode String Write (default): will create a file if the specified file does not exist

Returns None