Files
solstice/libs/file.sols

20 lines
376 B
Plaintext

struct File {
private fileHandle = 0
protected filePath = ""
protected size = 0
protected tell = 0
constructor (string filePath) {}
def read() string {}
def write(string buffer) int {}
def append(string buffer) int {}
def flush() int {}
def seek(int offset) int {}
def seekEnd(int offset) int {}
}
ground {
extern "fileio"
}