public static long byteSwap(long val, int size) {
		long res = 0;
		while (size > 0) {
			res <<= 8;
			res |= (val & 0xff);
			val >>= 8;
			size -= 1;
		}
		return res;
	}
Swap the least sig -size- bytes in -val-
@param val    value to be byte swapped
@param size   number of bytes involved in swap
@return the byte swapped value
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/expression/TokenField.java