Exposes object-oriented filesystem access. See IO for more methods.
object public File:Close()
Closes the file.
object public File:Read()
Reads the entire contents of the file.
into: A list to write the output into instead of creating a new buffer.
Reads a file and amortizes its loading through an event loop. Returns the raw buffer, containing a series of strings.
object public File:ReadBufferAsync()
Reads a file and amortizes its loading through an event loop.
The same as
object public File:Write(
contents: The file contents
Writes to the file.