fails:IO#getbyte returns the next byte from the stream
