- base
cef_base_ref_counted_t base;
- close
int function(cef_zip_reader_t* self) nothrow close;
Closes the archive. This should be called directly to ensure that cleanup
occurs on the correct thread.
- close_file
int function(cef_zip_reader_t* self) nothrow close_file;
- eof
int function(cef_zip_reader_t* self) nothrow eof;
Returns true (1) if at end of the file contents.
- get_file_last_modified
cef_basetime_t function(cef_zip_reader_t* self) nothrow get_file_last_modified;
Returns the last modified timestamp for the file.
- get_file_name
cef_string_userfree_t function(cef_zip_reader_t* self) nothrow get_file_name;
Returns the name of the file.
- get_file_size
long function(cef_zip_reader_t* self) nothrow get_file_size;
Returns the uncompressed size of the file.
- move_to_file
int function(cef_zip_reader_t* self, const(cef_string_t)* fileName, int caseSensitive) nothrow move_to_file;
the cursor position was set successfully.
- open_file
int function(cef_zip_reader_t* self, const(cef_string_t)* password) nothrow open_file;
Opens the file for reading of uncompressed data. A read password may
optionally be specified.
- read_file
int function(cef_zip_reader_t* self, void* buffer, size_t bufferSize) nothrow read_file;
Read uncompressed file contents into the specified buffer. Returns < 0 if
an error occurred, 0 if at the end of file, or the number of bytes read.
- tell
long function(cef_zip_reader_t* self) nothrow tell;
Returns the current offset in the uncompressed file contents.
Structure that supports the reading of zip archives via the zlib unzip API. The functions of this structure should only be called on the thread that creates the object.