public void skip(int bytes) throws IOException {
  if (bytes > 0) {
    if (stream.skip(bytes) != bytes) {
      throw new EOFException();
    }
    bytesRead+=bytes;
  }
}

public void skip ( int bytes ) throws IOException { if ( bytes > 0 ) { if ( stream . skip ( bytes ) != bytes ) { throw new EOFException ( ) ; } bytesRead += bytes ; } }
skip a specific number of bytes in the stream .
