private void decodeVersionNumber(Decoder decoder) throws DecoderException {
		int el = decoder.openElement(ELEM_SIGSETTINGS);
		int subel = decoder.openElement(ELEM_MAJOR);
		major = (short) decoder.readSignedInteger(ATTRIB_CONTENT);
		decoder.closeElement(subel);
		subel = decoder.openElement(ELEM_MINOR);
		minor = (short) decoder.readSignedInteger(ATTRIB_CONTENT);
		decoder.closeElement(subel);
		subel = decoder.openElement(ELEM_SETTINGS);
		int settings = (int) decoder.readUnsignedInteger(ATTRIB_CONTENT);
		decoder.closeElement(subel);
		decoder.closeElement(el);
		if (settings != sigSettings) {
			throw new DecoderException("Decompiler settings are not configured");
		}
	}
Read the major/minor version numbers from the stream.
@param decoder is the stream decoder
@throws DecoderException for problems parsing the stream or if the returned settings do not match
Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompInterface.java