Function packSize

Synopsis

#include <include/bitarchiveinfo.hpp>

uint64_t packSize() const

Description

Return
the total compressed size of the archive content.

Source

Lines 98-107 in src/bitarchiveinfo.cpp. Line 126 in include/bitarchiveinfo.hpp.

uint64_t BitArchiveInfo::packSize() const {
    uint64_t result = 0;
    for ( uint32_t i = 0; i < itemsCount(); ++i ) {
        BitPropVariant prop = getItemProperty( i, BitProperty::PackSize );
        if ( !prop.isEmpty() ) {
            result += prop.getUInt64();
        }
    }
    return result;
}





Add Discussion as Guest

Log in