public InjectPayload restoreXmlInject(String source, String name, int tp, XmlPullParser parser)
			throws XmlParseException {
		InjectPayload payload = allocateInject(source, name, tp);
		payload.restoreXml(parser, language);
		registerInject(payload);
		return payload;
	}
Encode the parts of the inject library that come from the compiler spec
to the output stream
@param encoder is the stream encoder
@throws IOException for errors writing to the underlying stream
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/PcodeInjectLibrary.java