Function libCZI_CreateInputStreamFromFileUTF8

Function libCZI_CreateInputStreamFromFileUTF8#

Function Documentation#

LibCZIApiErrorCode libCZI_CreateInputStreamFromFileUTF8(const char *filename, InputStreamObjectHandle *stream_object)#

Create an input stream object for a file identified by its filename, which is given as an UTF8-encoded string.

Parameters:
  • filename[in] Filename of the file which is to be opened (in UTF8 encoding).

  • stream_object[out] The output stream object that will hold the created stream.

Returns:

An error-code that indicates whether the operation is successful or not. Non-positive values indicates successful, positive values indicates unsuccessful operation.