Lines Matching refs:read
77 * @return the byte which was read or -1 at end of stream.
82 public int read() throws IOException {
83 // read the next byte
84 int byteRead = in.read();
91 // return byte read
105 * the initial position in {@code b} to store the bytes read from
109 * @return the number of bytes actually read or -1 if the end of the
115 public int read(byte[] b, int off, int len) throws IOException {
116 // read next up to len bytes
117 int bytesRead = in.read(b, off, len);
124 // return number of bytes read