An enumeration that is used to specify various file opening modes.
| Mode | Definition |
|---|---|
| app | Start the read or write at end of the file |
| ate | Start the read or write immediately at the end |
| binary | binary file |
| in | Start the read at end of the stream |
| out | Start the write at the beginning of the stream |
| trunc | Start the read or write at the beginning of the stream |