@Override
  public final int skipBytes(int count) throws IOException {
    int skipped = 0;
    long skip;
    while (skipped < count && (skip = in.skip(count - skipped)) != 0) {
      skipped += skip;
    }
    if (skipped < 0) {
      throw new EOFException();
    }
    return skipped;
  }
Skips <code>count</code> number of bytes in this stream. Subsequent
<code>read()</code>'s will not return these bytes unless
<code>reset()</code> is used.

@param count
         the number of bytes to skip.
@return the number of bytes actually skipped.

@throws IOException
          If the stream is already closed or another IOException occurs.
ql/src/java/org/apache/hadoop/hive/ql/io/NonSyncDataInputBuffer.java