FileIO.loadFile

Load a file by its path in the filesystem.

interface FileIO
ubyte[]
loadFile
(
string filename
)

Parameters

filename string

Path of the file in the system.

Return Value

Type: ubyte[]

Full contents of the file.

Throws

Any Exception if the file doesn't exist or couldn't be loaded for any other reason.

Meta