Zip file reader. More...
#include <zip_reader.h>
Public Member Functions | |
Construction | |
ZipReader (IODevice &input) | |
Constructs a ZipReader. More... | |
Operations | |
bool | read_local_file_header (bool allow_data_descriptor=false) |
Begins reading a file entry in the zip file. More... | |
std::string | get_filename () |
Returns the file name that was stored in the local file header. More... | |
bool | has_data_descriptor () const |
Returns true if the file entry is followed by a data descriptor. More... | |
byte64 | get_compressed_size () const |
Returns the compressed size of the file entry. More... | |
byte64 | get_uncompressed_size () const |
Returns the uncompressed size of the file entry. More... | |
void | set_data_descriptor_data (byte64 compressed_size, byte64 uncompressed_size, ubyte32 crc32) |
Informs the zip reader what the data descriptor contains. More... | |
byte64 | read_file_data (void *data, byte64 size, bool read_all=true) |
Reads some file data from the zip file. More... | |
Zip file reader.