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:
- has else encountered this
- 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
Post a Comment