9 #ifndef CPROVER_JAVA_BYTECODE_MZ_ZIP_ARCHIVE_H
10 #define CPROVER_JAVA_BYTECODE_MZ_ZIP_ARCHIVE_H
53 std::string
extract(
size_t index);
61 std::unique_ptr<mz_zip_archive_statet>
m_state;
Thin object-oriented wrapper around the MZ Zip library Zip file reader and extractor.
size_t get_num_files()
Get number of files in the archive.
std::string extract(size_t index)
Get contents of nth file in the archive.
void extract_to_file(size_t index, const std::string &path)
Write contents of nth file in the archive to a file.
std::string get_filename(size_t index)
Get file name of nth file in the archive.
mz_zip_archivet & operator=(const mz_zip_archivet &)=delete
std::unique_ptr< mz_zip_archive_statet > m_state
mz_zip_archivet(const std::string &filename)
Open a zip archive.
mz_zip_archivet(const mz_zip_archivet &)=delete