available

open suspend override fun available(): Int

Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without suspending for an I/O operation, which may be 0, or 0 when end of stream is detected.

Return

The number of bytes that can be read from this input stream without suspending.