Function libCZI::CreateStreamFromMemory(IAttachment *)

Function libCZI::CreateStreamFromMemory(IAttachment *)#

Function Documentation#

std::shared_ptr<IStream> libCZI::CreateStreamFromMemory(IAttachment *attachment)#

Creates a stream-object on the memory-block in an attachment.

Parameters:

attachment – Pointer to attachment.

Returns:

The new stream object.