This method blocks until at least one byte of input is avail