instance method
Zlib::ZStream#avail_out
() -> ::Integer
avail_out
ext/zlib/zlib.c
View on GitHub ↗
static VALUE
rb_zstream_avail_out(VALUE obj)
{
struct zstream *z;
TypedData_Get_Struct(obj, struct zstream, &zstream_data_type, z);
return rb_uint2inum(z->stream.avail_out);
}
Returns number of bytes of free spaces in output buffer. Because the free space is allocated automatically, this method returns 0 normally.