FileFlags.this

Constructs the file flags from a mode string.

This simply calls FileFlags.parse.

Examples

FileFlags ff = "wb+";
assert(ff == FileFlags.readWriteEmpty);
assert(ff == FileFlags("wb+"));

See Also

Meta