Class StreamObjectHeaderStart32bit

    • Field Detail

      • largeLength

        public Compact64bitInt largeLength
        Gets or sets an optional compact uint64 that specifies the length in bytes for additional data (if any). This field MUST be specified if the Length field contains 32767 and MUST NOT be specified if the Length field contains any other value than 32767.
    • Constructor Detail

      • StreamObjectHeaderStart32bit

        public StreamObjectHeaderStart32bit​(StreamObjectTypeHeaderStart type,
                                            int length)
        Initializes a new instance of the StreamObjectHeaderStart32bit class with specified type and length.
        Parameters:
        type - Specify the type of the StreamObjectHeaderStart32bit.
        length - Specify the length of the StreamObjectHeaderStart32bit.
      • StreamObjectHeaderStart32bit

        public StreamObjectHeaderStart32bit()
        Initializes a new instance of the StreamObjectHeaderStart32bit class, this is the default constructor.
      • StreamObjectHeaderStart32bit

        public StreamObjectHeaderStart32bit​(StreamObjectTypeHeaderStart streamObjectTypeHeaderStart)
        Initializes a new instance of the StreamObjectHeaderStart32bit class with specified type.
        Parameters:
        streamObjectTypeHeaderStart - Specify the type of the StreamObjectHeaderStart32bit.
    • Method Detail

      • doDeserializeFromByteArray

        protected int doDeserializeFromByteArray​(byte[] byteArray,
                                                 int startIndex)
                                          throws IOException,
                                                 TikaException
        This method is used to deserialize the StreamObjectHeaderStart32bit basic object from the specified byte array and start index.
        Specified by:
        doDeserializeFromByteArray in class BasicObject
        Parameters:
        byteArray - Specify the byte array.
        startIndex - Specify the start index from the byte array.
        Returns:
        Return the length in byte of the StreamObjectHeaderStart32bit basic object.
        Throws:
        IOException
        TikaException