Function libCZI::CreateOutputStreamForFile#
Defined in File libCZI.h
Function Documentation#
-
std::shared_ptr<IOutputStream> libCZI::CreateOutputStreamForFile(const wchar_t *szwFilename, bool overwriteExisting)#
Creates an output-stream-object for the specified filename. A stock-implementation of a stream-object (for writing a file from disk) is provided here. For a more specialized and tuned version, libCZI-users should consider implementing the interface “IOutputStream” in their own code.
- Parameters:
szwFilename – Filename of the file (as a wide character string).
overwriteExisting – True if an existing file should be overwritten, false otherwise.
- Returns:
The new output-stream object.