java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.CompactID

public class CompactID extends Object
This class is used to represent the CompactID structrue.
  • Field Details

    • n

      public long n
    • guidIndex

      public long guidIndex
  • Constructor Details

    • CompactID

      public CompactID()
  • Method Details

    • serializeToByteList

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

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