method

params

v2_5_5 - Show latest stable - Class: Zlib::Deflate
params(p1, p2)
public

Changes the parameters of the deflate stream to allow changes between different types of data that require different types of compression. Any unprocessed data is flushed before changing the params.

See Zlib::Deflate.new for a description of level and strategy.