Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Streaming 在ServiceStack下使用IStreamWriter保存TIFF文件时出现问题_Streaming_<img Src="//i.stack.imgur.com/WM7S8.png" Height="16" Width="18" Alt="" Class="sponsor Tag Img">servicestack - Fatal编程技术网 servicestack,Streaming,servicestack" /> servicestack,Streaming,servicestack" />

Streaming 在ServiceStack下使用IStreamWriter保存TIFF文件时出现问题

Streaming 在ServiceStack下使用IStreamWriter保存TIFF文件时出现问题,streaming,servicestack,Streaming,servicestack,我正在使用ServiceStack框架来流式传输TIFF文件。 当我使用IStreamWriter界面时,它只使用图像对象保存第一页。 我正在寻找一个如何对多页TIFF文件使用相同流的示例。请共享部分代码以复制bevavior。我得到了解决方案,我们需要使用streampublic void WriteTo(stream responseStream){if(_responseStream==null)的copyTo方法return;_responseStream.CopyTo(response

我正在使用ServiceStack框架来流式传输TIFF文件。 当我使用IStreamWriter界面时,它只使用图像对象保存第一页。
我正在寻找一个如何对多页TIFF文件使用相同流的示例。

请共享部分代码以复制bevavior。我得到了解决方案,我们需要使用streampublic void WriteTo(stream responseStream){if(_responseStream==null)的copyTo方法return;_responseStream.CopyTo(responseStream);responseStream.Flush();//dispose responseStream.dispose();}