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