Home | History | Annotate | Download | only in io

Lines Matching refs:charCount

202      * Skips {@code charCount} characters in this reader. Subsequent calls of
205 * charCount} characters.
209 * if {@code charCount < 0}.
216 public long skip(long charCount) throws IOException {
217 if (charCount < 0) {
218 throw new IllegalArgumentException("charCount < 0: " + charCount);
222 int toRead = charCount < 512 ? (int) charCount : 512;
224 while (skipped < charCount) {
233 if (charCount - skipped < toRead) {
234 toRead = (int) (charCount - skipped);