Class PrtFourBytesOfLengthFollowedByData
java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.property.PrtFourBytesOfLengthFollowedByData
- All Implemented Interfaces:
IProperty
This class is used to represent the prtFourBytesOfLengthFollowedByData.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoDeserializeFromByteArray(byte[] byteArray, int startIndex) This method is used to deserialize the prtFourBytesOfLengthFollowedByData from the specified byte array and start index.This method is used to convert the element of prtFourBytesOfLengthFollowedByData into a byte List.
-
Field Details
-
cb
public int cb -
data
public byte[] data
-
-
Constructor Details
-
PrtFourBytesOfLengthFollowedByData
public PrtFourBytesOfLengthFollowedByData()
-
-
Method Details
-
doDeserializeFromByteArray
This method is used to deserialize the prtFourBytesOfLengthFollowedByData from the specified byte array and start index.- Specified by:
doDeserializeFromByteArrayin 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
This method is used to convert the element of prtFourBytesOfLengthFollowedByData into a byte List.- Specified by:
serializeToByteListin interfaceIProperty- Returns:
- Return the byte list which store the byte information of prtFourBytesOfLengthFollowedByData.
-