public TaintVec truncated(int length, boolean isBigEndian) {
		if (length > this.length) {
			throw new IllegalArgumentException();
		}
		TaintVec vec = new TaintVec(length);
		int shift = isBigEndian ? this.length - length : 0;
		for (int i = 0; i < length; i++) {
			vec.sets[i] = vec.sets[i + shift];
		}
		return vec;
	}
Drop all but length elements from this vector, creating a new vector

<p>
Drops the most significant elements of this vector, as specified by the endianness

@param length the length fo the new vector
@param isBigEndian true to drop lower-indexed elements, false to drop higher-indexed elements
@return the truncated vector
Ghidra/Debug/TaintAnalysis/src/main/java/ghidra/taint/model/TaintVec.java