Values

Read

Opens the file for read operations. The cursor is positioned at the beginning of the file.

Write

Opens the file for write operations. The file is created if it does not exist, and truncated if it does.

ReadWrite

Opens the file for read and write operations. Does not truncate the file. The cursor is positioned at the beginning of the file.

WriteRead

Opens the file for read and write operations. The file is created if it does not exist, and truncated if it does. The cursor is positioned at the beginning of the file.