Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. 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.3 · 3.2 · 3.1