@Override
	public final void setValue(AddressSpace spc, long off, int size, BigInteger cval) {
		setChunk(Utils.bigIntegerToBytes(cval, size, language.isBigEndian()), spc, off, size);
	}
This is the main interface for writing values to the MemoryState. If there is no registered
MemoryBank for the desired address space, or if there is some other error, an exception is
thrown.

@param spc is the address space to write to
@param off is the offset where the value should be written
@param size is the number of bytes to be written
@param cval is the value to be written
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/memstate/AbstractMemoryState.java