public final int skipBytes(int count) throws java.io.IOException {
  int skipped=0;
  long skip;
  while (skipped < count && (skip=in.skip(count - skipped)) != 0) {
    skipped+=skip;
  }
  return skipped;
}

public final int skipBytes ( int count ) throws java . io . IOException { int skipped = 0 ; long skip ; while ( skipped < count && ( skip = in . skip ( count - skipped ) ) != 0 ) { skipped += skip ; } return skipped ; }
see the general contract of the skipbytes method of datainput . bytes for this operation are read from the contained input stream .
