@Override
	public final long getValue(AddressSpace spc, long off, int size) {
		if (spc.isConstantSpace()) {
			return off;
		}
		byte[] bytes = new byte[size];
		getChunk(bytes, spc, off, size, false);
		return Utils.bytesToLong(bytes, size, language.isBigEndian());
	}
This is the main interface for reading values from 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 being queried
@param off is the offset of the value being queried
@param size is the number of bytes to query
@return the queried value
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/memstate/AbstractMemoryState.java