API documentation
class sys.io.File
API for reading and writing to files.
See sys.FileSystem for the complementary file system API.
sys.FileSystem
static function getBytes(path:String): Bytes
Retrieves the binary content of the file specified by path.
path
If the file does not exist or can not be read, an exception is thrown.
sys.FileSystem.exists can be used to check for existence.
sys.FileSystem.exists
If path is null, the result is unspecified.