85868788899091929394959697
protected byte createCrc(byte[] madData) { if (isReadonly()) throw new IllegalStateException("cannot modify readonly mad"); NxpCrc crc = new NxpCrc(); for (int x = 1; x < madData.length; x++) { crc.add(madData[x]); } return crc.getCrc(); }