improved behavior of deflateReset

This commit is contained in:
inikep committed 2016-09-26 20:49:18 +02:00
1 parent cbd7bdca1e
commit 67a1f4d72a
2 files changed
+35 -22

No files matched your search

+3 -1
View File
@@ -39,7 +39,9 @@ int ZWRAP_isUsingZSTDcompression(void);
/* Changes a pledged source size for a given compression stream.
It will change ZSTD compression parameters what may improve compression speed and/or ratio.
The function should be called just after deflateInit(). */
The function should be called just after deflateInit(). It's only helpful when data is compressed in blocks.
There will be no change in case of deflateInit() immediately followed by deflate(strm, Z_FINISH)
as this case is automatically detected. */
int ZWRAP_setPledgedSrcSize(z_streamp strm, unsigned long long pledgedSrcSize);