getByte() returns -1 if byte after eof is requested