public void addDataType(String key, DataType dt) {
		Boolean packed = isPacked.get(key);
		if (packed != null) {
			Composite composite = (Composite) dt;
			composite.setPackingEnabled(packed);
			Integer packVal = packingValue.get(key);
			if (packVal != null) {
				composite.setExplicitPackingValue(packVal);
			}
		}
		dataTypes.put(key, dt);
		dataManager.addDataType(dt, DataTypeConflictHandler.REPLACE_HANDLER);
	}
Reads the datatypes encoded in SARIF from the specified SARIF parser and
recreates them in a datatype manager.

@param result  the SARIF parser
@param monitor the task monitor
@throws SAXParseException  if an SARIF parse error occurs
@throws CancelledException if the user cancels the read operation
Ghidra/Features/Sarif/src/main/java/sarif/managers/DataTypesSarifMgr.java