public final MemoryBlock createMemoryBlock(String name, Address start, InputStream input,
			long length, boolean overlay) throws Exception {
		if (input == null) {
			return currentProgram.getMemory()
					.createUninitializedBlock(name, start, length, overlay);
		}
		return currentProgram.getMemory()
				.createInitializedBlock(name, start, input, length, monitor, overlay);
	}
Create a new memory block.
If the input stream is null, then an uninitialized block will be created.
@param name    the name of the block
@param start   start address of the block
@param input   source of the data used to fill the block.
@param length  the size of the 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