Lines Matching defs:offset
152 * Writes {@code count} characters starting at {@code offset} in {@code c}
157 * @param offset
162 * if {@code offset < 0} or {@code len < 0}, or if
163 * {@code offset + len} is bigger than the size of {@code c}.
166 public void write(char[] buffer, int offset, int len) {
167 Arrays.checkOffsetAndCount(buffer.length, offset, len);
170 System.arraycopy(buffer, offset, this.buf, this.count, len);
192 * Writes {@code count} characters starting at {@code offset} from
198 * if {@code offset < 0} or {@code count < 0}, or if
199 * {@code offset + count} is bigger than the length of
203 public void write(String str, int offset, int count) {
207 if ((offset | count) < 0 || offset > str.length() - count) {
208 throw new StringIndexOutOfBoundsException(str, offset, count);
212 str.getChars(offset, offset + count, buf, this.count);