public long skipBytes(long n) throws IOException {
  long count=0;
  long gotsofar=0;
  if (inputStream == null) {
    reopen();
    if (inputStream == null) {
      reopen();
      throw new IOException("Stream closed, can't be reopened");
    }
  }
  while (count < n) {
    gotsofar=inputStream.skip(n - count);
    if (gotsofar == 0) {
      Debug.error("StreamInputReader can't skip " + n + " bytes as instructed");
      break;
    }
    count+=gotsofar;
  }
  count((int)count);
  return count;
}

public long skipBytes ( long n ) throws IOException { long count = 0 ; long gotsofar = 0 ; if ( inputStream == null ) { reopen ( ) ; if ( inputStream == null ) { reopen ( ) ; throw new IOException ( "Stream closed, can't be reopened" ) ; } } while ( count < n ) { gotsofar = inputStream . skip ( n - count ) ; if ( gotsofar == 0 ) { Debug . error ( "StreamInputReader can't skip " + n + " bytes as instructed" ) ; break ; } count += gotsofar ; } count ( ( int ) count ) ; return count ; }
skip over n bytes in the input file
