Lines Matching refs:offset
94 * position {@code offset} to this stream.
98 * @param offset
106 * if {@code offset < 0} or {@code count < 0}, or if
107 * {@code offset + count} is bigger than the length of
111 public void write(byte[] buffer, int offset, int count) throws IOException {
120 // used (offset | count) < 0 instead of (offset < 0) || (count < 0)
125 if ((offset | count) < 0 || count > buffer.length - offset) {
129 for (int i = offset; i < offset + count; i++) {