Reads bytes from this byte-input stream into the specified byte array, starting at the given offset.
This method implements the general contract of the corresponding
method of the read
class. As an additional convenience, it attempts to read as many bytes as possible by repeatedly invoking the InputStream
read
method of the underlying stream. This iterated read
continues until one of the following conditions becomes true:
read
method of the underlying stream returns -1
, indicating end-of-file, oravailable
method of the underlying stream returns zero, indicating that further input requests would block.If the first
read
on the underlying stream returns
-1
to indicate end-of-file then this method returns
-1
. Otherwise this method returns the number of bytes actually read.
Subclasses of this class are encouraged, but not required, to attempt to read as many bytes as possible in the same fashion.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4