Read javadoc :
Returns an estimate of the number of bytes that can be read (or skipped) from this input stream without blocking by the next method call for this input stream. The next call may be the same thread or another thread. One reading or skipping this number of bytes will not block, but can read or skip fewer bytes.
, InputStream , . , .
, InputStream.available() , .
, read() , -1. available().