private long readInteger(int pos, int len) {
		long res = 0;
		while (len > 0) {
			res <<= RAWDATA_BITSPERBYTE;
			res |= (editStream.getByte(pos) & RAWDATA_MASK);
			pos += 1;
			len -= 1;
		}
		return res;
	}
Read the integer at the given position.
@param pos is the given position
@param len is the length of the integer in 7-bit bytes
@return the integer
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/PatchPackedEncode.java