Home | History | Annotate | Download | only in io

Lines Matching refs:read

75      * simply performs <code>in.read()</code> and returns the result.
82 public int read() throws IOException {
83 return in.read();
92 * <code>read(b, 0, b.length)</code> and returns
94 * <i>not</i> do <code>in.read(b)</code> instead;
99 * @param b the buffer into which the data is read.
100 * @return the total number of bytes read into the buffer, or
104 * @see java.io.FilterInputStream#read(byte[], int, int)
106 public int read(byte b[]) throws IOException {
107 return read(b, 0, b.length);
114 * bytes are read and <code>0</code> is returned.
116 * This method simply performs <code>in.read(b, off, len)</code>
119 * @param b the buffer into which the data is read.
121 * @param len the maximum number of bytes read.
122 * @return the total number of bytes read into the buffer, or
132 public int read(byte b[], int off, int len) throws IOException {
133 return in.read(b, off, len);
155 * Returns an estimate of the number of bytes that can be read (or
158 * the same thread or another thread. A single read or skip of this
159 * many bytes will not block, but may read or skip fewer bytes.
163 * @return an estimate of the number of bytes that can be read (or skipped
187 * the last marked position so that subsequent reads re-read the same bytes.
190 * allow that many bytes to be read before the mark position gets
195 * @param readlimit the maximum limit of bytes that can be read before
212 * situations where you need to read ahead a little to see what's in