public final static void parseOatHeader(OatHeader oatHeader, Program oatProgram,
			BinaryReader reader, TaskMonitor monitor, MessageLog log)
			throws UnsupportedOatVersionException, IOException {

		OatBundle bundle = OatBundleFactory.getOatBundle(oatProgram, oatHeader, monitor, log);
		oatHeader.parse(reader, bundle);
		bundle.close();
	}
Returns an OatHeader of the correct version.
@param reader the binary reader for the OAT header
@return the new OAT header
@throws IOException if OAT header cannot be created from reader
@throws UnsupportedOatVersionException when the provided version is invalid or not yet implemented.
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/android/oat/OatHeaderFactory.java