Function libCZI::CreateStreamFromFile

Function libCZI::CreateStreamFromFile#

Function Documentation#

std::shared_ptr<IStream> libCZI::CreateStreamFromFile(const wchar_t *szFilename)#

Creates a stream-object for the specified file. A stock-implementation of a stream-object (for reading a file from disk) is provided here.

Parameters:

szFilename – Filename of the file.

Returns:

The new stream object.