java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.DataSizeObject
All Implemented Interfaces:
IFSSHTTPBSerializable

public class DataSizeObject extends StreamObject
Data Size Object
  • Field Details

    • dataSize

      public long dataSize
  • Constructor Details

    • DataSizeObject

      public DataSizeObject()
      Initializes a new instance of the DataSizeObject class.
  • Method Details

    • deserializeItemsFromByteArray

      protected void deserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems) throws IOException
      Used to de-serialize the element.
      Specified by:
      deserializeItemsFromByteArray in class StreamObject
      Parameters:
      byteArray - A Byte array
      currentIndex - Start position
      lengthOfItems - The length of the items
      Throws:
      IOException
    • serializeItemsToByteList

      protected int serializeItemsToByteList(List<Byte> byteList)
      Used to convert the element into a byte List.
      Specified by:
      serializeItemsToByteList in class StreamObject
      Parameters:
      byteList - A Byte list
      Returns:
      A constant value 8