ready
Tells whether this stream is ready to be read. A buffered character stream is ready if the buffer is not empty, or if the underlying character stream is ready.
Return
true
if the stream is ready to be read, false otherwise.
Throws
If an I/O error occurs.