Function libCZI::CreateInputOutputStreamForFile

Function libCZI::CreateInputOutputStreamForFile#

Function Documentation#

std::shared_ptr<IInputOutputStream> libCZI::CreateInputOutputStreamForFile(const wchar_t *szFilename)#

Creates an input-output-stream for the specified filename. A stock-implementation of a stream-object (for modifying a file from disk) is provided here. For a more specialized and tuned version, libCZI-users should consider implementing the interface “IInputOutputStream” in their own code.

Parameters:

szFilename – Filename of the file.

Returns:

The newly created input-output-stream object for the file if successful.