flush_next_out()
public
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.
Show source
static VALUE
rb_zstream_flush_next_out(VALUE obj)
{
struct zstream *z;
TypedData_Get_Struct(obj, struct zstream, &zstream_data_type, z);
return zstream_detach_buffer(z);
}