private String getMaskedInputString(byte[] bytes, byte[] masks) {
		StringBuilder builder = new StringBuilder();
		for (int i = 0; i < bytes.length; i++) {
			for (int shift = 7; shift >= 0; shift--) {
				int bit = bytes[i] >> shift & 0x1;
				int maskBit = masks[i] >> shift & 0x1;
				builder.append(maskBit == 0 ? '.' : Integer.toString(bit));
			}
			builder.append(" ");
		}

		return builder.toString().trim();
	}
Return a mask byte that has a bit set to 1 for each bit that is not a wildcard.  Any bits
that aren't specified (i.e. token.lenght &lt; 8) are treated as valid test bits. 
@param token the string of bits to determine a mask for.
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/format/BinarySearchFormat.java