public void calculateChecksum(Patch p) { calcChkSum(p.sysex, 0);
void calculateChecksum(Patch p, int offset) {  int size; for (int i = 0; i < NUM_PKT; i++, offset += size) { size = PKT_SIZE[i]; int chkSumIdx = offset + size - 2;  calculateChecksum(p, offset + 6, chkSumIdx - 1, chkSumIdx); }
    public void calculateChecksum(Patch p) {	calcChkSum(p.sysex, 0);    }