Closed ariel-miculas closed 1 year ago
In https://docs.rs/zstd/0.12.3+zstd.1.5.2/zstd/stream/write/struct.Encoder.html#method.new, shouldn't the compression level be in the range (1,22) instead of (1,21)? In zstd 1.5.1 it says:
The library supports regular compression levels from 1 up to ZSTD_maxCLevel(), which is currently 22
Indeed, the comment appears incorrect (maybe outdated?).
In https://docs.rs/zstd/0.12.3+zstd.1.5.2/zstd/stream/write/struct.Encoder.html#method.new, shouldn't the compression level be in the range (1,22) instead of (1,21)? In zstd 1.5.1 it says: