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#avail_out=

avail_out=(p1)

Allocates size bytes of free space in the output buffer. If there are more than size bytes already in the buffer, the buffer is truncated. Because free space is allocated automatically, you usually don’t need to use this method.

See also #avail_out #close #avail_in #closed? also in 4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0