This is currently only a basic foundation for a file object that will allow scripts to read and write files.
Register with RegisterScriptFile(asIScriptEngine*).
Script example:
file f;
// Open the file in 'read' mode
if( f.open("file.txt", "r") >= 0 )
{
// Read the whole file into the string buffer
string @str = @f.readString(f.getSize());
f.close();
}
1.5.6