c# - What is the difference between zlib's gzip compression and the compression used by .NET's GZipStream? -


having odd problem - 1 of app suites has read/write gzip-compressed files used on both windows , linux, , finding files generate using zlib on linux 2-3 times larger generate using gzipstream on windows. read on either platform, know compression correct regardless of platform created file. thing is, files transferred across network @ various times, , file size concern.

my question is:

  1. has else encountered this
  2. is there documented difference between two? know gzipstream not provide way specify compression level can zlib, using maximum compression on zlib side. shouldn't see relatively same file size, assuming gzipstream written use maximum compression well?

and answer .... linux version never compressing data begin with. took lot of debugging find bug caused it, after correcting it, sizes comparable on both platforms.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -