Enum FileMode

Specifies how a file is manipulated on disk.

The enum base type is int .

Enum members

Name Description
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 and created otherwise and the opened for read-write access.
append The file is opened for appending data to it and created if it does not exist.
Read deprecated
ReadWrite deprecated
CreateTrunc deprecated
Append deprecated

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.