public FileBytes createFileBytes(int size) throws Exception {
		byte[] bytes = new byte[size];
		for (int i = 0; i < size; i++) {
			bytes[i] = (byte) i;
		}

		return tx(() -> {
			FileBytes fileBytes = program.getMemory()
					.createFileBytes("test", 0, size, new ByteArrayInputStream(bytes),
						TaskMonitor.DUMMY);

			return fileBytes;
		});
	}
Creates a sting data type instance at the specified address, repeated {@code N} times.

@param addressString address.
@param dt {@link AbstractStringDataType} string type to place at address.
@param n repeat count.
Ghidra/Features/Base/src/main/java/ghidra/program/database/ProgramBuilder.java