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
Post a Comment