-
-
Notifications
You must be signed in to change notification settings - Fork 116
BitExtractor
Riccardo edited this page Apr 2, 2017
·
15 revisions
The BitExtractor class allows to extract the content of various file archives.
#include "bitextractor.hpp"
Return type | Name |
---|---|
BitExtractor( const Bit7zLibrary &lib, const BitInFormat &format ) | |
const BitInFormat & | extractionFormat() |
void | setPassword( const wstring &password ) |
void | extract( const wstring &in_file, const wstring &out_dir=L"" ) const |
void | extract( const wstring &in_file, vector< byte_t > &out_buffer, unsigned int index=0 ) |
BitExtractor( const Bit7zLibrary &lib, const BitInFormat &format )
Constructs a BitExtractor 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.
const BitInFormat& extractionFormat()
Returns the archive format used by the extractor
void setPassword( const wstring &password )
Sets up a password to be used to open the archives.
When setting a password, the opened archive will be decrypted using the default cryptographic method of the input format.
Note: Calling setPassword when the input archive is not encrypted does not have effect on the extraction process.
Extracts the given archive into the choosen directory.
Extracts the given archive into the output buffer.
Documentation for bit7z v4.0.8
Copyright © 2014 - 2024 Riccardo Ostani (@rikyoz)
Copyright © 2014 - 2024 Riccardo Ostani (@rikyoz)
- Bit7zLibrary
- BitArchiveEditor
- BitArchiveReader
- BitArchiveWriter
- BitException
- BitFileCompressor
- BitFileExtractor
- BitMemCompressor
- BitMemExtractor
- BitStreamCompressor
- BitStreamExtractor
- BitInFormat