Dynamically update the compression level or strategy.
xzsetparams returns Z_OK if success, or Z_STREAM_ERROR if the file was not opened for writing.
file/in "gz" filehandle from xzopen. |
level Compression level. 0: Default 1: No compression, store data only 2: Compression on highest speed 3..9 10: Best compression but slow |
Strategy |
Result Z_OK or error-result. |
file/out |