Class BaseBlock

    • Constructor Detail

      • BaseBlock

        public BaseBlock()
      • BaseBlock

        public BaseBlock​(BaseBlock bb)
      • BaseBlock

        public BaseBlock​(byte[] baseBlockHeader)
    • Method Detail

      • hasArchiveDataCRC

        public boolean hasArchiveDataCRC()
      • hasVolumeNumber

        public boolean hasVolumeNumber()
      • hasEncryptVersion

        public boolean hasEncryptVersion()
      • isSubBlock

        public boolean isSubBlock()
        Returns:
        is it a sub block
      • getPositionInFile

        public long getPositionInFile()
      • getFlags

        public short getFlags()
      • getHeadCRC

        public short getHeadCRC()
      • getHeaderSize

        @Deprecated
        public short getHeaderSize()
        Deprecated.
        As of 7.3.0, replaced by getHeaderSize(boolean)
        The header size.
        Returns:
        the header size
      • getHeaderSize

        public short getHeaderSize​(boolean encrypted)
        The header size, padded if encrypted.
        Parameters:
        encrypted - if the header is encrypted.
        Returns:
        the header size, and the padded header size if the header is encrypted.
      • getHeaderPaddingSize

        private short getHeaderPaddingSize()
      • setPositionInFile

        public void setPositionInFile​(long positionInFile)
      • print

        public void print()