Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Zlib::ZStream#flush_next_out

flush_next_out → String
flush_next_out { |chunk| ... } → nil

Flushes output buffer and returns all data in that buffer. If a block is given each chunk is yielded to the block until the current output buffer has been flushed.

See also #flush_next_in #reset #finished? #stream_end? also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0