Method: Zlib::GzipReader#readchar
- Defined in:
- zlib.c
#readchar ⇒ Object
See Zlib::GzipReader documentation for a description.
4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 |
# File 'zlib.c', line 4154
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;
}
|