instance method
Zlib::GzipReader#readchar
() -> ::String
readchar
ext/zlib/zlib.c
View on GitHub ↗
static VALUE
rb_gzreader_readchar(VALUE obj)
{
VALUE dst;
dst = rb_gzreader_getc(obj);
if (NIL_P(dst)) {
rb_raise(rb_eEOFError, "end of file reached");
}
return dst;
}
See Zlib::GzipReader documentation for a description.