Class PropertyID


  • public class PropertyID
    extends Object
    This class is used to represent a PropertyID.
    • Field Detail

      • id

        public int id
      • type

        public int type
      • boolValue

        public int boolValue
      • value

        public int value
    • Constructor Detail

      • PropertyID

        public PropertyID()
    • Method Detail

      • serializeToByteList

        public List<Byte> serializeToByteList()
                                       throws IOException
        This method is used to convert the element of PropertyID object into a byte List.
        Returns:
        Return the byte list which store the byte information of PropertyID.
        Throws:
        IOException
      • doDeserializeFromByteArray

        public int doDeserializeFromByteArray​(byte[] byteArray,
                                              int startIndex)
                                       throws IOException
        This method is used to deserialize the PropertyID object from the specified byte array and start index.
        Parameters:
        byteArray - Specify the byte array.
        startIndex - Specify the start index from the byte array.
        Returns:
        Return the length in byte of the PropertyID object.
        Throws:
        IOException