protected void add(ByteEditInfo edit) {
		byte[] oldValue = edit.getOldValue();
		byte[] newValue = edit.getNewValue();

		Address blockAddr = edit.getBlockAddress();
		BigInteger offset = edit.getOffset();
		for (int i = 0; i < oldValue.length; i++) {
			if (oldValue[i] == newValue[i]) {
				continue;
			}
			ByteEditInfo newedit = new ByteEditInfo(blockAddr, offset.add(BigInteger.valueOf(i)),
				oldValue, newValue);
			changeList.add(newedit);
		}
	}
Add a change to the change list.

@param edit edit object that has the old value and new value
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteBlockChangeManager.java