available

open override fun available(): Int(source)

Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream.

Return

an estimate of the number of bytes that can be read (or skipped over) f rom this input stream without blocking or 0 when it reaches the end of the input stream.

Since

0.1.1

Throws

if an I/O error occurs.

if this method is not supported.