public static ExGuid xorExtendedGUID(ExtendedGUID exGuid1, ExtendedGUID exGuid2)
            throws IOException {
        List<Byte> exGuid1Buffer = exGuid1.SerializeToByteList();
        List<Byte> exGuid2Buffer = exGuid2.SerializeToByteList();
        List<Byte> resultBuffer = new ArrayList<>(exGuid1Buffer.size());

        for (int i = 0; i < exGuid1Buffer.size(); i++) {
            byte fromExGuid1 = exGuid1Buffer.get(i);
            byte fromExGuid2 = exGuid2Buffer.get(i);
            resultBuffer.set(i, (byte) (fromExGuid1 ^ fromExGuid2));
        }
        ExGuid resultExGuid = new ExGuid();
        resultExGuid.doDeserializeFromByteArray(ByteUtil.toByteArray(resultBuffer), 0);
        return resultExGuid;
    }
XOR two ExtendedGUID instances.

@param exGuid1 The first ExtendedGUID instance.
@param exGuid2 The second ExtendedGUID instance.
@return Returns the result of XOR two ExtendedGUID instances.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/streamobj/basic/AdapterHelper.java