Closed otavio closed 4 years ago
This wasn't in the original miniz either, so we never bothered to implement it, but it should be easy enough if it's needed for anything.
This wasn't in the original miniz either, so we never bothered to implement it, but it should be easy enough if it's needed for anything.
It is so it mimics the zlib
behavior. For now, I am using it but would prefer to use a pure Rust implementation instead.
The generated fine does not include the referred compression level.
It should looks like:
However, the second byte is always
0x01
. This happens using thedefault
feature. Usingzlib
backend it works as expected.Originally reported at: https://github.com/alexcrichton/flate2-rs/issues/225