Ruby Zlib::Inflate Functions

EditRocket provides the following information on Zlib::Inflate functions in the Ruby source code builder.

inflate" Zlib::Inflate.inflate(string) - Decompresses string. Raises a Zlib::NeedDict exception if a preset dictionary is needed for decompression.

inflate" Zlib::Inflate.inflate(string) - Decompresses string. Raises a Zlib::NeedDict exception if a preset dictionary is needed for decompression.

new" Zlib::Inflate.new(window_bits) - Creates a new inflate stream for decompression. See zlib.h for details of the argument. If window_bits is nil, the default value is used.

set_dictionary(p1) - Sets the preset dictionary and returns string. This method is available just only after a Zlib::NeedDict exception was raised. See zlib.h for details.

sync" sync(string) - Inputs string into the end of input buffer and skips data until a full flush point can be found. If the point is found in the buffer, this method flushes the buffer and returns false. Otherwise it returns true and the following data of full flush point is preserved in the buffer.

sync_point?() - "Quoted verbatim from original documentation:"