Class JCID


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

      • index

        public int index
      • isBinary

        public int isBinary
      • isPropertySet

        public int isPropertySet
      • isGraphNode

        public int isGraphNode
      • isFileData

        public int isFileData
      • isReadOnly

        public int isReadOnly
      • reserved

        public int reserved
    • Constructor Detail

      • JCID

        public JCID()
    • Method Detail

      • serializeToByteList

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

        public int doDeserializeFromByteArray​(byte[] byteArray,
                                              int startIndex)
                                       throws IOException
        This method is used to deserialize the JCID 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 JCID object.
        Throws:
        IOException