Controls the compression-speed vs compression-density tradeoffs. The higher the quality, the slower the compression. Range is `_0 to `_11.
type lgwin = [
Base 2 logarithm of the sliding window size. Range is `_10 to `_24.
Base 2 logarithm of the maximum input block size. Range is `_16 to `_24. If set to `_0, the value will be set based on the quality.
val bytes : ?mode:mode -> ?quality:quality -> ?lgwin:lgwin -> ?lgblock:lgblock -> ?on_part_compressed:( Nativeint.t -> unit ) -> bytes -> bytes
Compress the given bytes string to a compressed bytes string