Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Zlib::ZStream#reset

reset

Resets and initializes the stream. All data in both input and output buffer are discarded.