android/guava/src/com/google/common/io/CharStreams.java
@Beta
  public static void skipFully(Reader reader, long n) throws IOException {
    checkNotNull(reader);
    while (n > 0) {
      long amt = reader.skip(n);
      if (amt == 0) {
        throw new EOFException();
      }
      n -= amt;
    }
  }
@Beta
  public static void skipFully(Reader reader, long n) throws IOException {
    checkNotNull(reader);
    while (n > 0) {
      long amt = reader.skip(n);
      if (amt == 0) {
        throw new EOFException();
      }
      n -= amt;
    }
  }
Discards {@code n} characters of data from the reader. This method will block until the full
amount has been skipped. Does not close the reader.

@param reader the reader to read from
@param n the number of characters to skip
@throws EOFException if this stream reaches the end before skipping all the characters
@throws IOException if an I/O error occurs