Enum AbstractFile.OpenMode

enum OpenMode : int { ... }

Enum members

NameDescription
appendOnly C's "a", writes will always be appended to the file
readAndWrite C's "r+", writes will overwrite existing parts of the file based on where you seek (default is at the beginning)
readOnly C's "r", the file is read
writeWithTruncation C's "w", the file is blanked upon opening so it only holds what you write