Interface Zip64ExtensibleDataSector.Z64SpecialPurposeData

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int PREFIX_LENGTH
      Length of header id and the size length fields that comes before the data
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getHeaderId()
      Obtains the Special purpose data's header id.
      int size()
      Obtains the size of the data in this special purpose data.
      void write​(java.nio.ByteBuffer out)
      Writes the special purpose data to the buffer.
    • Field Detail

      • PREFIX_LENGTH

        static final int PREFIX_LENGTH
        Length of header id and the size length fields that comes before the data
        See Also:
        Constant Field Values
    • Method Detail

      • getHeaderId

        int getHeaderId()
        Obtains the Special purpose data's header id.
        Returns:
        the data's header id.
      • size

        int size()
        Obtains the size of the data in this special purpose data.
        Returns:
        the number of bytes needed to write the data.
      • write

        void write​(java.nio.ByteBuffer out)
            throws java.io.IOException
        Writes the special purpose data to the buffer.
        Parameters:
        out - the buffer where to write the data to; exactly size() bytes will be written.
        Throws:
        java.io.IOException - failed to write special purpose data.