gzipstream用于仅通过套接字的前向流 [英] gzipstream for forward only stream over sockets
本文介绍了gzipstream用于仅通过套接字的前向流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在Windows Phone 7上开发应用程序.我需要压缩/解压缩数据以便通过tcp套接字发送.
I am developing an application on windows phone 7.I need to compress/uncompress my data for sending it over tcp sockets.
但是我无法找到任何gzip压缩器来通过TCP套接字转发仅流.
But I have not been able to find any gzip compressor for forward only stream over tcp sockets.
请帮助.
推荐答案
我为此创建了一个精简版的DotNetZip,称为DotNetZipLiteWP7.可以通过git在这里使用:
I created a stripped down version of DotNetZip for this purpose, called DotNetZipLiteWP7. It's available via git here:
https://bitbucket.org/jnewc/dotnetziplitewp7
(此外,我更喜欢DotNetZip而不是SharpZipLib,因为该许可证更直接用于商业应用程序.)
(Also, I prefer DotNetZip to SharpZipLib as the license is more straight-forward for use in commercial apps).
这篇关于gzipstream用于仅通过套接字的前向流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文