gzipstream for forward only stream over sockets

2019-07-19 18:12发布

问题:

I am developing an application on windows phone 7.I need to compress/uncompress my data for sending it over tcp sockets.

But I have not been able to find any gzip compressor for forward only stream over tcp sockets.

please help.

回答1:

I created a stripped down version of DotNetZip for this purpose, called DotNetZipLiteWP7. It's available via git here:

https://bitbucket.org/jnewc/dotnetziplitewp7

(Also, I prefer DotNetZip to SharpZipLib as the license is more straight-forward for use in commercial apps).