ios - Swift inflated [UInt8] fails to deflate with miniz lib -


i have ios app use deflateswift deflate byte array ([uint8]). when try inflate data using miniz library not working. executed in platform. deflateswift simple wrapper around zlib library have been around ages.

i have tried set different value on windowsbits compressionlevel when doing inflate in app. has not solved problem. miniz use windowsbits = 15 default default setting deflateswift well.

according documentation miniz should 100% compatible zlib, not seems case.

has else encountered similar problems? there more settings windowsbits & compressionlevel fiddle with?

as turns out did not deflateswift classes work miniz library. nsdata+compression found in cocoagit works this.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -