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

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -