Function libCZI_CreateOutputStreamForFileUTF8#
Defined in File libCZIApi.h
Function Documentation#
-
LibCZIApiErrorCode libCZI_CreateOutputStreamForFileUTF8(const char *filename, bool overwrite, OutputStreamObjectHandle *output_stream_object)#
Create an input stream object for a file identified by its filename, which is given as an UTF8 - encoded string.
- Parameters:
filename – Filename of the file which is to be opened (in UTF8 encoding).
overwrite – Indicates whether the file should be overwritten.
output_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.