public byte[] getMaskedBytes(byte[] mask) {
		if (prototype == null) {
			throw new IllegalStateException("Pattern is not complete");
		}
		if (mask.length != bytes.length) {
			throw new IllegalArgumentException("inappropriate mask");
		}
		byte[] result = new byte[bytes.length];
		for (int i = 0; i < bytes.length; i++) {
			result[i] = (byte) (mask[i] & bytes[i]);
		}
		return result;
	}
Apply an appropriate mask for the resulting instruction bytes
to obtain the corresponding masked bytes.
@param mask instruction, operand or similarly sized mask
@return masked instruction bytes
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/SleighDebugLogger.java