Class CompactID
- java.lang.Object
-
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.CompactID
-
public class CompactID extends Object
This class is used to represent the CompactID structrue.
-
-
Constructor Summary
Constructors Constructor Description CompactID()
-
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 CompactID object from the specified byte array and start index.List<Byte>
serializeToByteList()
This method is used to convert the element of CompactID object into a byte List.
-
-
-
Method Detail
-
serializeToByteList
public List<Byte> serializeToByteList() throws IOException
This method is used to convert the element of CompactID object into a byte List.- Returns:
- Return the byte list which store the byte information of CompactID.
- Throws:
IOException
-
doDeserializeFromByteArray
public int doDeserializeFromByteArray(byte[] byteArray, int startIndex) throws IOException
This method is used to deserialize the CompactID 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 CompactID object.
- Throws:
IOException
-
-