Class ObjectSpaceObjectStreamHeader
- java.lang.Object
-
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.space.ObjectSpaceObjectStreamHeader
-
public class ObjectSpaceObjectStreamHeader extends Object
-
-
Field Summary
Fields Modifier and Type Field Description long
count
int
extendedStreamsPresent
int
osidStreamNotPresent
int
reserved
-
Constructor Summary
Constructors Constructor Description ObjectSpaceObjectStreamHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doDeserializeFromByteArray(byte[] byteArray, int startIndex)
This method is used to deserialize the ObjectSpaceObjectStreamHeader object from the specified byte array and start index.List<Byte>
serializeToByteList()
This method is used to convert the element of ObjectSpaceObjectStreamHeader into a byte List.
-
-
-
Method Detail
-
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
-
-