SysFile::SysFile

SysFile::SysFile
SF_EXPORT SysFile();
SF_EXPORT SysFile(const String& path, int flags = Open_Read|Open_Buffered, int mode = Mode_ReadWrite);
Description

SysFile opens a file. For some platforms (such as PS2, PSP, Wii) buffering will be used even if Open_Buffered flag is not set because of these platforms' file system limitation.

Parameters
Parameters 
Description 
const String& path 
Path/Directory name of the file. The path should be encoded as UTF-8 to support international file names. 
int flags = Open_Read|Open_Buffered 
Flags set to indicate whether file is opened as read or buffered. 
int mode = Mode_ReadWrite 
Mode set to indicate whether to open file in read/write mode.