How do I concatenate two System.Io.Stream instances into one?

前端 未结 5 733
耶瑟儿~
耶瑟儿~ 2020-11-29 04:44

Let\'s imagine I want to stream three files to a user all in a row, but instead of him handing me a Stream object to push bytes down, I have to hand him a

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 05:26

    Why not use a container that already encapsulates the idea of multiple files, like say using ZipOutputStream from SharpZipLib?

提交回复
热议问题