Function BitArchiveInfo

Summary

#include <include/bitarchiveinfo.hpp>

(1) BitArchiveInfo(const Bit7zLibrary &lib, const wstring &in_file, const BitInFormat &format DEFAULT_FORMAT, const wstring &password=L"")

(2) BitArchiveInfo(const Bit7zLibrary &lib, const vector< byte_t > &in_buffer, const BitInFormat &format DEFAULT_FORMAT, const wstring &password=L"")

(3) BitArchiveInfo(const Bit7zLibrary &lib, std::istream &in_stream, const BitInFormat &format DEFAULT_FORMAT, const wstring &password=L"")

Function overload

Synopsis

#include <include/bitarchiveinfo.hpp>

BitArchiveInfo(const Bit7zLibrary &lib, const wstring &in_file, const BitInFormat &format DEFAULT_FORMAT, const wstring &password=L"")

Description

Constructs a BitArchiveInfo object, opening the input file 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.

in_file - the input archive file path.

format - the input archive format.

password - the password needed to open the input archive.

Source

Line 50 in include/bitarchiveinfo.hpp.

Synopsis

#include <include/bitarchiveinfo.hpp>

BitArchiveInfo(const Bit7zLibrary &lib, const vector< byte_t > &in_buffer, const BitInFormat &format DEFAULT_FORMAT, const wstring &password=L"")

Description

Constructs a BitArchiveInfo object, opening the archive in the input buffer.

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.

in_buffer - the input buffer containing the archive.

format - the input archive format.

password - the password needed to open the input archive.

Source

Line 68 in include/bitarchiveinfo.hpp.

Synopsis

#include <include/bitarchiveinfo.hpp>

BitArchiveInfo(const Bit7zLibrary &lib, std::istream &in_stream, const BitInFormat &format DEFAULT_FORMAT, const wstring &password=L"")

Description

Constructs a BitArchiveInfo object, opening the archive from the standard input stream.

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.

in_stream - the standard input stream of the archive.

format - the input archive format.

password - the password needed to open the input archive.

Source

Line 86 in include/bitarchiveinfo.hpp.






Add Discussion as Guest

Log in