Type:
Class

Zlib::Deflate is the class for compressing data. See Zlib::ZStream for more information.

params
  • References/Ruby on Rails/Ruby/Classes/Zlib/Zlib::Deflate

params(level, strategy) Instance Public methods Changes the parameters of the

2025-01-10 15:47:30
<<
  • References/Ruby on Rails/Ruby/Classes/Zlib/Zlib::Deflate

Instance Public methods Inputs string into the deflate stream just like

2025-01-10 15:47:30
deflate 2
  • References/Ruby on Rails/Ruby/Classes/Zlib/Zlib::Deflate

z.deflate(string, flush = Zlib::NO_FLUSH) â Stringz.deflate(string, flush = Zlib::NO_FLUSH) { |chunk| ... } â nil

2025-01-10 15:47:30
initialize_copy
  • References/Ruby on Rails/Ruby/Classes/Zlib/Zlib::Deflate

initialize_copy(p1) Instance Public methods Duplicates the deflate stream.

2025-01-10 15:47:30
deflate
  • References/Ruby on Rails/Ruby/Classes/Zlib/Zlib::Deflate

Zlib.deflate(string[, level])Zlib::Deflate.deflate(string[, level]) Class Public methods

2025-01-10 15:47:30
set_dictionary
  • References/Ruby on Rails/Ruby/Classes/Zlib/Zlib::Deflate

set_dictionary(string) Instance Public methods Sets the preset dictionary and

2025-01-10 15:47:30
flush
  • References/Ruby on Rails/Ruby/Classes/Zlib/Zlib::Deflate

flush(flush = Zlib::SYNC_FLUSH) â Stringflush(flush = Zlib::SYNC_FLUSH) { |chunk| ... } â nil

2025-01-10 15:47:30
new
  • References/Ruby on Rails/Ruby/Classes/Zlib/Zlib::Deflate

Zlib::Deflate.new(level=DEFAULT_COMPRESSION, window_bits=MAX_WBITS, mem_level=DEF_MEM_LEVEL, strategy=DEFAULT_STRATEGY)

2025-01-10 15:47:30