public class StreamObjectHeaderStart32bit extends StreamObjectHeaderStart
Modifier and Type | Field and Description |
---|---|
Compact64bitInt |
largeLength
Gets or sets an optional compact uint64 that specifies the length in bytes for additional data (if any).
|
compound, headerType, length, STREAM_OBJECT_HEADER_START_16_BIT, STREAM_OBJECT_HEADER_START_32_BIT, type
Constructor and Description |
---|
StreamObjectHeaderStart32bit()
Initializes a new instance of the StreamObjectHeaderStart32bit class, this is the default constructor.
|
StreamObjectHeaderStart32bit(StreamObjectTypeHeaderStart streamObjectTypeHeaderStart)
Initializes a new instance of the StreamObjectHeaderStart32bit class with specified type.
|
StreamObjectHeaderStart32bit(StreamObjectTypeHeaderStart type,
int length)
Initializes a new instance of the StreamObjectHeaderStart32bit class with specified type and length.
|
Modifier and Type | Method and Description |
---|---|
protected int |
doDeserializeFromByteArray(byte[] byteArray,
int startIndex)
This method is used to deserialize the StreamObjectHeaderStart32bit basic object
from the specified byte array and start index.
|
List<Byte> |
serializeToByteList()
This method is used to convert the element of StreamObjectHeaderStart32bit basic object into a byte List.
|
tryParse
deserializeFromByteArray, parse
public Compact64bitInt largeLength
public StreamObjectHeaderStart32bit(StreamObjectTypeHeaderStart type, int length)
type
- Specify the type of the StreamObjectHeaderStart32bit.length
- Specify the length of the StreamObjectHeaderStart32bit.public StreamObjectHeaderStart32bit()
public StreamObjectHeaderStart32bit(StreamObjectTypeHeaderStart streamObjectTypeHeaderStart)
streamObjectTypeHeaderStart
- Specify the type of the StreamObjectHeaderStart32bit.public List<Byte> serializeToByteList() throws IOException
serializeToByteList
in interface IFSSHTTPBSerializable
serializeToByteList
in class BasicObject
IOException
protected int doDeserializeFromByteArray(byte[] byteArray, int startIndex) throws IOException, TikaException
doDeserializeFromByteArray
in class BasicObject
byteArray
- Specify the byte array.startIndex
- Specify the start index from the byte array.IOException
TikaException
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.