Lines Matching refs:length
90 * reading from a file, {@link File#length} returns the current length of the file (though
91 * assuming the file's length can't change may be incorrect, reading a file is inherently
160 * Equivalent to {@code read(buffer, 0, buffer.length)}.
163 return read(buffer, 0, buffer.length);
167 * Reads at most {@code length} bytes from this stream and stores them in
175 * @param length
180 * if {@code offset < 0} or {@code length < 0}, or if
181 * {@code offset + length} is greater than the length of
186 public int read(byte[] buffer, int offset, int length) throws IOException {
187 Arrays.checkOffsetAndCount(buffer.length, offset, length);
188 for (int i = 0; i < length; i++) {
202 return length;