Opens a file at the specified path for output.
If append
is true, data will be appended to the file; otherwise, the file will be overwritten.
The path to the file to open.
Whether to append to the file (true
) or overwrite it (false
).
A FileOutputInterfaceStream for writing to the file.
Opens a file at the specified path for output. The default behavior for appending or overwriting is implementation-dependent.
The path to the file to open.
A FileOutputInterfaceStream for writing to the file.
Interface for file output operations, providing methods to open files for writing. Implementations should return a FileOutputInterfaceStream for file manipulation.