Function setCompressionLevel

Synopsis

#include <include/bitarchivecreator.hpp>

void setCompressionLevel(BitCompressionLevel compression_level)

Description

Sets the compression level to be used when creating an archive.

Parameters

compression_level - the compression level desired.

Source

Lines 173-176 in src/bitarchivecreator.cpp. Line 140 in include/bitarchivecreator.hpp.

void BitArchiveCreator::setCompressionLevel( BitCompressionLevel compression_level ) {
    mCompressionLevel = compression_level;
    mDictionarySize = 0; //reset dictionary size to default for the compression level
}





Add Discussion as Guest

Log in