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' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -