instance method
Zlib::ZStream#reset
() -> void
reset
ext/zlib/zlib.c
View on GitHub ↗
static VALUE
rb_zstream_reset(VALUE obj)
{
zstream_reset(get_zstream(obj));
return Qnil;
}
Resets and initializes the stream. All data in both input and output buffer are discarded.
See also
#flush_next_out
#stream_end?
#flush_next_in
#total_in
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0