FileIO

Interface for loading and saving files from/to the file system.

A File I/O implementation is not restricted to the OS' file system API (the "regular" file system, like disks directly connected to the computer and exposed to the app). An implementation is free to implement other means of accessing files like downloading them off the web.

Members

Functions

loadFile
ubyte[] loadFile(string filename)

Load a file by its path in the filesystem.

writeFile
void writeFile(string filename, const(ubyte)[] content)

Write a file to the filesystem.

Inherited Members

From IO

opEquals
bool opEquals(Object )
Undocumented in source.
loadTo
void loadTo(T resource)

Load a resource by reference. This is the same as Node.load.

Meta