public void skip(int count) throws IOException {
  int skipCount=Math.min(limit - position,count);
  while (true) {
    position+=skipCount;
    count-=skipCount;
    if (count == 0)     break;
    skipCount=Math.min(count,capacity);
    require(skipCount);
  }
}

public void skip ( int count ) throws IOException { int skipCount = Math . min ( limit - position , count ) ; while ( true ) { position += skipCount ; count -= skipCount ; if ( count == 0 ) break ; skipCount = Math . min ( count , capacity ) ; require ( skipCount ) ; } }
discards the specified number of bytes .
