public byte calcCheckSum() throws IOException {
		byte sum = (byte) recordType;
		sum += (byte) recordLength + (byte) (recordLength >> 8);
		for (byte b : data) {
			sum += b;
		}
		sum += checkSum;
		return sum;
	}
Computes the record's checksum

@return The record's checksum
@throws IOException if an IO-related error occurred
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/omf/OmfRecord.java