instance method
Zlib::GzipReader#each_byte
() { (::String) -> void } -> void
each_byte
ext/zlib/zlib.c
View on GitHub ↗
static VALUE
rb_gzreader_each_byte(VALUE obj)
{
VALUE c;
RETURN_ENUMERATOR(obj, 0, 0);
while (!NIL_P(c = rb_gzreader_getbyte(obj))) {
rb_yield(c);
}
return Qnil;
}
See Zlib::GzipReader documentation for a description.