@Override
	public void encode(Encoder encoder) throws IOException {
		encoder.openElement(ELEM_JOIN_DUAL_CLASS);
		if (resource.getEntry(0).isBigEndian() != justifyRight) {
			encoder.writeBool(ATTRIB_REVERSEJUSTIFY, true);
		}
		if (baseType != StorageClass.GENERAL) {
			encoder.writeString(ATTRIB_STORAGE, baseType.toString());
		}
		if (altType != StorageClass.FLOAT) {
			encoder.writeString(ATTRIB_B, altType.toString());
		}
		encoder.closeElement(ELEM_JOIN);
	}
Constructor for use with decode. Set default configuration.
@param res is the new resource set to associate with this action
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/MultiSlotDualAssign.java