public final MemoryBlock createMemoryBlock(String name, Address start, byte[] bytes,
			boolean overlay) throws Exception {
		ByteArrayInputStream input = new ByteArrayInputStream(bytes);
		return currentProgram.getMemory()
				.createInitializedBlock(name, start, input, bytes.length, monitor, overlay);
	}
Create a new memory block.
@param name the name of the block
@param start   start address of the block
@param bytes   the bytes of the memory block
@param overlay true will create an overlay, false will not
@return the newly created memory block
@throws Exception if there is any exception
Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java