ready

open suspend override fun ready(): Boolean

Tells whether this stream is ready to be read.

Return

True if the next read() is guaranteed not to block for input

Throws

If the stream is closed