I try to write deflate filtered datasets and would like to support the following 4 compression levels in my default deflate filter algorithm: Compression ratios for different zlib compression levels - Stack Overflow
The filter parameters are represented as uint32 array so the default value (-1) needs to be casted to uint32 which results in the hex value
0xFFFFFFFF which is no being accepted in the deflate filter function:
If that value would be accepted, I could choose -1 as the default compression level if the user does not specify anything else. Since that does not work, I will for now select some sensible default like
6. But it would be great, if -1 is also being accepted in the future.