avail_out()
public
Returns number of bytes of free spaces in output buffer. Because the free
space is allocated automatically, this method returns 0 normally.
Show source
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);
}