@Override
	public byte[] applyMask(byte[] cde, byte[] result) throws IncompatibleMaskException {
		if ((cde == null) || (result == null))
			throw new IncompatibleMaskException();
		if ((cde.length < mask.length) || (result.length < cde.length))
			throw new IncompatibleMaskException();
		for (int i = 0; i < mask.length; i++)
			result[i] = (byte) (mask[i] & cde[i]);
		for (int i = mask.length; i < cde.length; i++)
			result[i] = cde[i];
		return result;
	}
@see ghidra.program.model.lang.Mask#applyMask(byte[], byte[])
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/MaskImpl.java