Class PrtFourBytesOfLengthFollowedByData
- java.lang.Object
-
- org.apache.tika.parser.microsoft.onenote.fsshttpb.property.PrtFourBytesOfLengthFollowedByData
-
-
Constructor Summary
Constructors Constructor Description PrtFourBytesOfLengthFollowedByData()
-
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 prtFourBytesOfLengthFollowedByData from the specified byte array and start index.List<Byte>
serializeToByteList()
This method is used to convert the element of prtFourBytesOfLengthFollowedByData into a byte List.
-
-
-
Method Detail
-
doDeserializeFromByteArray
public int doDeserializeFromByteArray(byte[] byteArray, int startIndex) throws IOException
This method is used to deserialize the prtFourBytesOfLengthFollowedByData from the specified byte array and start index.- Specified by:
doDeserializeFromByteArray
in interfaceIProperty
- Parameters:
byteArray
- Specify the byte array.startIndex
- Specify the start index from the byte array.- Returns:
- Return the length in byte of the prtFourBytesOfLengthFollowedByData.
- Throws:
IOException
-
serializeToByteList
public List<Byte> serializeToByteList()
This method is used to convert the element of prtFourBytesOfLengthFollowedByData into a byte List.- Specified by:
serializeToByteList
in interfaceIProperty
- Returns:
- Return the byte list which store the byte information of prtFourBytesOfLengthFollowedByData.
-
-