private static int readMagic(ByteProvider provider, long machHeaderStartIndexInProvider)
			throws IOException {
		BinaryReader br = new BinaryReader(provider, false);
		return br.readInt(machHeaderStartIndexInProvider);
	}
Creates a new Mach Header byte array

@param magic The magic
@param cpuType The cpu type
@param cpuSubType The cpu subtype
@param fileType The file type
@param nCmds The number of commands
@param sizeOfCmds The size of the commands
@param flags The flags
@param reserved A reserved value (ignored for 32-bit magic)
@return The new header in byte array form
@throws MachException if an invalid magic value was passed in (see {@link MachConstants})
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/MachHeader.java