Interface IProperty
-
- All Known Implementing Classes:
ArrayNumber,EightBytesOfData,FourBytesOfData,NoData,OneByteOfData,PropertySet,PrtArrayOfPropertyValues,PrtFourBytesOfLengthFollowedByData,TwoBytesOfData
public interface IPropertyThe interface of the property in OneNote file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intdoDeserializeFromByteArray(byte[] byteArray, int startIndex)This method is used to deserialize the property from the specified byte array and start index.List<Byte>serializeToByteList()This method is used to convert the element of property into a byte List.
-
-
-
Method Detail
-
serializeToByteList
List<Byte> serializeToByteList() throws IOException
This method is used to convert the element of property into a byte List.- Returns:
- Return the byte list which store the byte information of property.
- Throws:
IOException
-
doDeserializeFromByteArray
int doDeserializeFromByteArray(byte[] byteArray, int startIndex) throws IOExceptionThis method is used to deserialize the property 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 property.
- Throws:
IOException
-
-