Class ObjectSpaceObjectStreamHeader

java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.space.ObjectSpaceObjectStreamHeader

public class ObjectSpaceObjectStreamHeader extends Object
  • Field Details

    • count

      public long count
    • reserved

      public int reserved
    • extendedStreamsPresent

      public int extendedStreamsPresent
    • osidStreamNotPresent

      public int osidStreamNotPresent
  • Constructor Details

    • ObjectSpaceObjectStreamHeader

      public ObjectSpaceObjectStreamHeader()
  • Method Details

    • serializeToByteList

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

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