Value | Meaning |
---|---|
readFileOpenMode.read | The file is opened read-only. |
readWriteFileOpenMode.readWrite | The file is opened for read-write random access. |
createTruncFileOpenMode.createTrunc | The file is truncated if it exists or created otherwise and then opened for read-write access. |
appendFileOpenMode.append | The file is opened for appending data to it and created if it does not exist. |
Specifies how a file is manipulated on disk.