- BINARY = 0x1, ///< File stream will be opened as a binary
- TEXT = 0x2, ///< File stream will be opened as text
- READ = 0x4, ///< File stream will be opened for reading
- WRITE = 0x8, ///< File stream will be opende for writing
+ BINARY = 1 << 0, ///< File stream will be opened as a binary
+ TEXT = 1 << 1, ///< File stream will be opened as text
+ READ = 1 << 2, ///< File stream will be opened for reading
+ WRITE = 1 << 3, ///< File stream will be opened for writing
+ APPEND = 1 << 4, ///< File stream will be opened for appending