weixin_39581896
weixin_39581896
2021-01-06 05:14

Zip a stream on the network

Can you give me an example to compress the network stream? I used a memory stream and flushing periodically to the network stream, however, the network stream file seems to be corrupted. While I debug I found that ZipOutputStream is trying to seek previously written data. Due to which it is creating a corrupted stream in case of network stream as CanSeek is false.

该提问来源于开源项目:icsharpcode/SharpZipLib

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

19条回答

为你推荐