-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Results differ from System.IO.Compression #5
Comments
Can you post a code example of your C#? I did this maybe two years ago... only thing I remember taking out was a call to a zlib native library that would not work cross platform, so it is an all C# implementation. I would try changing the compression level, if that is an option. |
Thanks, I changed (hard coded) the default compression level in the library, but still, Just made a
And test it like below (asserting the output I got from other libraries).
The assertation works using |
Anyway, in Unity 5.5 they included See issue
So apparently I just don't need this library, you may update |
Sorry, I don't have access to this repo any longer since I do not work for Hitcents. I suspect this project will be abandoned. I don't have a way to update the README... |
Hi,
I tried the library, but the results differs from
System.IO.Compression
when usingGZipStream
.Test string:
Some test string to compress.
Result using System.IO:
H4sIAAAAAAAAAwvOz01VKEktLlEoLinKzEtXKMlXSM7PLShKLS7WAwAr6BTWHQAAAA==
Result using Unity.IO:
H4sIAAAAAAAEAOy9B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB 8/Il5Xizxt86ZNm7YulhdpW6XTarGq86YZ/z8BAAD//yvoFNYdAAAA
Only the former is recognizable by other gzip libraries.
See this fiddle: http://jsfiddle.net/9yH7M/837/
Or: http://www.txtwizard.net/compression
Is there some defaults that has been tweaked?
Could you shed a light on what is happening here?
The text was updated successfully, but these errors were encountered: