@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		for (int i = 0; i < offset; i++) {
			sb.append("SS:");
		}
		for (int i = 0; i < maskvec.length; i++) {
			if (i != 0) {
				sb.append(':');
			}
			sb.append(NumericUtilities.convertMaskedValueToHexString(maskvec[i], valvec[i], 8,
				false, 2, ":"));
		}
		if (sb.length() == 0) {
			return "[]";
		}
		return sb.toString();
	}
A mask/value pair viewed as two bitstreams
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/pattern/PatternBlock.java