mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-10 12:58:30 -04:00
libdeflate.h: document invalid compression level error
Somehow this was missing from the documentation.
This commit is contained in:
parent
ec60cb48d1
commit
e98ddd6612
@ -62,7 +62,8 @@ struct libdeflate_compressor;
|
|||||||
* DEFLATE, zlib, and gzip compression. 'compression_level' is the compression
|
* DEFLATE, zlib, and gzip compression. 'compression_level' is the compression
|
||||||
* level on a zlib-like scale but with a higher maximum value (1 = fastest, 6 =
|
* level on a zlib-like scale but with a higher maximum value (1 = fastest, 6 =
|
||||||
* medium/default, 9 = slow, 12 = slowest). The return value is a pointer to
|
* medium/default, 9 = slow, 12 = slowest). The return value is a pointer to
|
||||||
* the new compressor, or NULL if out of memory.
|
* the new compressor, or NULL if out of memory or if the compression level is
|
||||||
|
* invalid (i.e. outside the range [1, 12]).
|
||||||
*
|
*
|
||||||
* Note: for compression, the sliding window size is defined at compilation time
|
* Note: for compression, the sliding window size is defined at compilation time
|
||||||
* to 32768, the largest size permissible in the DEFLATE format. It cannot be
|
* to 32768, the largest size permissible in the DEFLATE format. It cannot be
|
||||||
|
Loading…
x
Reference in New Issue
Block a user