Patch p = (Patch)ip;
public void calculateChecksum(Patch p) {   if (p.sysex.length>101)    { byte [] newSysex = new byte [101];      System.arraycopy(p.sysex,0,newSysex,0,101);      p.sysex=newSysex;    }   calculateChecksum(p,6,98,99);  //calculate VCED Checksum }