ready

open override fun ready(): Boolean

Tells whether this stream is ready to be read:contentReferenceoaicite:12{index=12}. A buffered reader is ready if the buffer is not empty or if the underlying source has more data available (not at end):contentReferenceoaicite:13{index=13}.

Return

true if the next read is guaranteed not to block for input, false otherwise:contentReferenceoaicite:14{index=14}.

Throws

IOException

if an I/O error occurs.