Represents ZIP file entry.
More...
#include <staticlib/unzip/file_index.hpp>
Public Attributes |
int32_t | offset = -1 |
| Entry data offset from the start of the file.
|
int32_t | comp_length = -1 |
| Compressed length.
|
int32_t | uncomp_length = -1 |
| Uncompressed length.
|
uint16_t | comp_method = 0 |
| Compression method.
|
Detailed Description
Represents ZIP file entry.
Constructor & Destructor Documentation
staticlib::unzip::file_entry::file_entry |
( |
| ) |
|
|
inline |
Constructor, constructs an empty entry.
staticlib::unzip::file_entry::file_entry |
( |
int32_t |
offset, |
|
|
int32_t |
comp_length, |
|
|
int32_t |
uncomp_length, |
|
|
uint16_t |
comp_method |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
offset | entry data offset from the start of the file |
comp_length | compressed length |
uncomp_length | uncompressed length |
comp_method | compression method |
Member Function Documentation
bool staticlib::unzip::file_entry::is_empty |
( |
| ) |
|
|
inline |
Returns true if this instance represents an empty (invalid) entry.
- Returns
- true if this instance represents an empty (invalid) entry, false otherwise
Member Data Documentation
int32_t staticlib::unzip::file_entry::comp_length = -1 |
uint16_t staticlib::unzip::file_entry::comp_method = 0 |
int32_t staticlib::unzip::file_entry::offset = -1 |
Entry data offset from the start of the file.
int32_t staticlib::unzip::file_entry::uncomp_length = -1 |
The documentation for this struct was generated from the following file: