java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.property.ArrayNumber
All Implemented Interfaces:
IProperty

public class ArrayNumber extends Object implements IProperty
The class is used to represent the number of the array.
  • Field Details

    • number

      public int number
  • Constructor Details

    • ArrayNumber

      public ArrayNumber()
  • Method Details

    • doDeserializeFromByteArray

      public int doDeserializeFromByteArray(byte[] byteArray, int startIndex) throws IOException
      This method is used to deserialize the number of array from the specified byte array and start index.
      Specified by:
      doDeserializeFromByteArray in interface IProperty
      Parameters:
      byteArray - Specify the byte array.
      startIndex - Specify the start index from the byte array.
      Returns:
      Return the length in byte of the number of array.
      Throws:
      IOException
    • serializeToByteList

      public List<Byte> serializeToByteList()
      This method is used to convert the element of the number of array into a byte List.
      Specified by:
      serializeToByteList in interface IProperty
      Returns:
      Return the byte list which store the byte information of the number of array.