'Swift compression zlib level=1 - or if default compression level is to good

know anyone a Swift library to compress with zlib algorithm level=1 ?

Apple only support level=5 with COMPRESSION_ZLIB but sometime - now - I need exactly a different level in result of compatibility with existing world (programs).

Thx


I need same as zlib-flate -compress=1 <inputFile >outputFile



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source