FileOpenMode

Specifies how a file is manipulated on disk.

Values

ValueMeaning
read

The file is opened read-only.

readWrite

The file is opened for read-write random access.

createTrunc

The file is truncated if it exists or created otherwise and then opened for read-write access.

append

The file is opened for appending data to it and created if it does not exist.

Meta