FileMode¶
Import: import system.io;
FileMode¶
Access, creation, and truncation behavior when opening a file.
Read¶
Read an existing file without changing it.
Write¶
Create or truncate a file for writing.
Append¶
Create a file if needed and append writes to its end.
ReadWrite¶
Read and write an existing file without truncating it.
WriteRead¶
Create or truncate a file for reading and writing.
AppendRead¶
Read a file and append writes, creating it if needed.