Home | History | Annotate | Download | only in io

Lines Matching refs:len

148      * Reads up to <code>len</code> bytes of data into an array of bytes
154 * <code>len</code> and <code>count-pos</code>.
167 * @param len the maximum number of bytes read.
173 * <code>len</code> is negative, or <code>len</code> is greater than
176 public synchronized int read(byte b[], int off, int len) {
179 } else if (off < 0 || len < 0 || len > b.length - off) {
188 if (len > avail) {
189 len = avail;
191 if (len <= 0) {
194 System.arraycopy(buf, pos, b, off, len);
195 pos += len;
196 return len;