ByteArrayInputStream.available
Class Overview | Class Members |
This Package |
All Packages
public synchronized int available()
Returns
the number of bytes that can be read from the input stream
without blocking.
Description
Returns the number of bytes that can be read from this input
stream without blocking.
The available method of
ByteArrayInputStream returns the value of
count - pos,
which is the number of bytes remaining to be read from the input buffer.
Overrides
available in class InputStream