Lines Matching refs:len
68 * Reads into an array of bytes. If <code>len</code> is not zero, the method
73 * @param len the maximum number of bytes read
78 * <code>len</code> is negative, or <code>len</code> is greater than
82 public int read(byte[] buf, int off, int len) throws IOException {
83 len = in.read(buf, off, len);
84 if (len != -1) {
85 cksum.update(buf, off, len);
87 return len;
100 long len = n - total;
101 len = read(buf, 0, len < buf.length ? (int)len : buf.length);
102 if (len == -1) {
105 total += len;