Class AdapterHelper


  • public class AdapterHelper
    extends Object
    • Constructor Detail

      • AdapterHelper

        public AdapterHelper()
    • Method Detail

      • readGuid

        public static UUID readGuid​(byte[] byteArray,
                                    int startIndex)
        This method is used to read the Guid for byte array.
        Parameters:
        byteArray - The byte array.
        startIndex - The offset of the Guid value.
        Returns:
        Return the value of Guid.
      • xorExtendedGUID

        public static ExGuid xorExtendedGUID​(ExtendedGUID exGuid1,
                                             ExtendedGUID exGuid2)
                                      throws IOException
        XOR two ExtendedGUID instances.
        Parameters:
        exGuid1 - The first ExtendedGUID instance.
        exGuid2 - The second ExtendedGUID instance.
        Returns:
        Returns the result of XOR two ExtendedGUID instances.
        Throws:
        IOException