@Override
	public boolean equals(Object obj) {
		if (obj == null) {
			return false;
		}
		DittedBitSequence op2 = (DittedBitSequence) obj;
		if (bits.length != op2.bits.length) {
			return false;
		}
		for (int i = 0; i < bits.length; ++i) {
			if (bits[i] != op2.bits[i]) {
				return false;
			}
			if (dits[i] != op2.dits[i]) {
				return false;
			}
		}
		return true;
	}
Construct a bit pattern to search for consisting of
0 bits, 1 bits, and don't care bits
@param bytes is an array of bytes indicating the 0 and 1 bits that are cared about
@param mask is an array of bytes masking off the bits that should be cared about, a 0 indicates a "don't care"
Ghidra/Features/Base/src/main/java/ghidra/util/bytesearch/DittedBitSequence.java