All Known Implementing Classes:
ArrayNumber, EightBytesOfData, FourBytesOfData, NoData, OneByteOfData, PropertySet, PrtArrayOfPropertyValues, PrtFourBytesOfLengthFollowedByData, TwoBytesOfData

public interface IProperty
The interface of the property in OneNote file.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    doDeserializeFromByteArray(byte[] byteArray, int startIndex)
    This method is used to deserialize the property from the specified byte array and start index.
    This method is used to convert the element of property into a byte List.
  • Method Details

    • 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 IOException
      This 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