32 #include "../api_core.h"
34 #include "../System/cl_platform.h"
68 bool read_local_file_header(
bool allow_data_descriptor =
false);
71 std::string get_filename();
74 bool has_data_descriptor()
const;
77 byte64 get_compressed_size()
const;
80 byte64 get_uncompressed_size()
const;
83 void set_data_descriptor_data(
byte64 compressed_size,
byte64 uncompressed_size,
ubyte32 crc32);
86 byte64 read_file_data(
void *data,
byte64 size,
bool read_all =
true);
93 std::shared_ptr<ZipReader_Impl> impl;
I/O Device interface.
Definition: iodevice.h:51
Zip file reader.
Definition: zip_reader.h:46
long long byte64
Definition: cl_platform.h:65
unsigned int ubyte32
Definition: cl_platform.h:64