void restoreUndoRedoState(SaveState saveState) {
		changeList.clear();
		int numberOfChanges = saveState.getInt(NUMBER_OF_CHANGES, 0);
		for (int i = 0; i < numberOfChanges; i++) {
			int blockNumber = saveState.getInt(BLOCK_NUMBER + i, 0);
			BigInteger blockOffset = new BigInteger(saveState.getString(BLOCK_OFFSET + i, "0"));
			byte[] oldValue = saveState.getBytes(OLD_VALUE + i, null);
			byte[] newValue = saveState.getBytes(NEW_VALUE + i, null);

			if (oldValue != null && newValue != null) {
				changeList.add(new ByteEditInfo(blockSet.getBlockStart(blockNumber), blockOffset,
					oldValue, newValue));
			}
		}
	}
Read the state of the change list.
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteBlockChangeManager.java