= private = protected
readbyte()
Reads a byte as with IO#getbyte, but raises an EOFError on end of file.
static VALUE rb_io_readbyte(VALUE io) { VALUE c = rb_io_getbyte(io); if (NIL_P(c)) { rb_eof_error(); } return c; }