Packages

 

com.aspose.imaging.fileformats.emf.dtyp.commondatastructures

Class GuidPacketRepresentation



  • public class GuidPacketRepresentation
    extends com.aspose.ms.lang.Struct<GuidPacketRepresentation>

    The packet version is used within block protocols. The following diagram represents a GUID as an opaque sequence of bytes. A GUID, also known as a UUID, is a 16-byte structure, intended to serve as a unique identifier for an object. There are three representations of a GUID, as described in the following sections.

    • Constructor Detail

      • GuidPacketRepresentation

        public GuidPacketRepresentation()
      • GuidPacketRepresentation

        public GuidPacketRepresentation(int data1,
                                        short data2,
                                        short data3,
                                        long data4)

        Initializes a new instance of the GuidPacketRepresentation struct.

        Parameters:
        data1 - The data1.
        data2 - The data2.
        data3 - The data3.
        data4 - The data4.
    • Method Detail

      • getData1

        public int getData1()

        Gets or sets the value of the Data1 member (section 2.3.4), in little-endian byte order.

        Value: The data1.
      • setData1

        public void setData1(int value)

        Gets or sets the value of the Data1 member (section 2.3.4), in little-endian byte order.

        Value: The data1.
      • getData2

        public short getData2()

        Gets or sets the value of the Data2 member (section 2.3.4), in little-endian byte order.

        Value: The data2.
      • setData2

        public void setData2(short value)

        Gets or sets the value of the Data2 member (section 2.3.4), in little-endian byte order.

        Value: The data2.
      • getData3

        public short getData3()

        Gets or sets the value of the Data3 member (section 2.3.4), in little-endian byte order.

        Value: The data3.
      • setData3

        public void setData3(short value)

        Gets or sets the value of the Data3 member (section 2.3.4), in little-endian byte order.

        Value: The data3.
      • getData4

        public long getData4()

        Gets or sets the value of the Data4 member (section 2.3.4), in little-endian byte order.

        Value: The data4.
      • setData4

        public void setData4(long value)

        Gets or sets the value of the Data4 member (section 2.3.4), in little-endian byte order.

        Value: The data4.
      • toString

        public String toString()

        Returns a System.String that represents this instance.

        Overrides:
        toString in class Object
        Returns:
        A System.String that represents this instance.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object