Function BitStreamExtractor

Synopsis

#include <include/bitstreamextractor.hpp>

explicit BitStreamExtractor(const Bit7zLibrary &lib, const BitInFormat &format DEFAULT_FORMAT)

Description

Constructs a BitStreamExtractor object.

The Bit7zLibrary parameter is needed in order to have access to the functionalities of the 7z DLLs. On the other hand, the BitInFormat is required in order to know the format of the input archive.

Note
When bit7z is compiled using the BIT7Z_AUTO_FORMAT macro define, the format argument has default value BitFormat::Auto (automatic format detection of the input archive). On the other hand, when BIT7Z_AUTO_FORMAT is not defined (i.e. no auto format detection available) the format argument must be specified.
Parameters

lib - the 7z library used.

format - the input archive format.

Source

Lines 30-31 in src/bitstreamextractor.cpp. Line 48 in include/bitstreamextractor.hpp.

BitStreamExtractor::BitStreamExtractor( const Bit7zLibrary& lib, const BitInFormat& format )
    : BitArchiveOpener( lib, format ) {}





Add Discussion as Guest

Log in