@Override
	public void setChunk(byte[] val, AddressSpace spc, long off, int size) {
		T t = arithmetic.fromConst(val);
		state.setVar(spc, off, size, true, t);
	}
An implementation of {@link MemoryState} which wraps a newer {@link PcodeExecutorState}.

<p>
This is a transitional component used internally by the {@link AdaptedEmulator}. It is also used
in the {@link ModifiedPcodeThread}, which is part of the newer {@link PcodeEmulator} system, as a
means of incorporating {@link EmulateInstructionStateModifier}, which is part of the older
{@link EmulatorHelper} system. This class will be removed once both conditions are met:

<ol>
<li>An equivalent state modification system is developed for the {@link PcodeEmulator} system,
and each {@link EmulateInstructionStateModifier} is ported to it.</li>
<li>The {@link AdaptedEmulator} class is removed.</li>
</ol>

<p>
Guidance for the use of this class is the same as {@link AdaptedEmulator}.

@param <T> the type of values in the wrapped state. This matters not to {@link EmulatorHelper},
           so long as {@link T} can be made concrete.
Ghidra/Framework/Emulation/src/main/java/ghidra/app/emulator/AdaptedMemoryState.java