zipios
2.2.0
Zipios -- a small C++ library that provides easy access to .zip files.
|
Various definitions for local blocks. More...
Classes | |
struct | ZipLocalEntryHeader |
ZipLocalEntry Header. More... | |
Variables | |
const uint32_t | g_signature = 0x04034b50 |
The signature of a local entry. More... | |
const uint16_t | g_trailing_data_descriptor = 1 << 3 |
A bit in the general purpose flags. More... | |
The ZipLocalEntry needs a signature, a flag, and makes use of a structure declaration (although we cannot really use that structure.)
const uint32_t zipios::anonymous_namespace{ziplocalentry.cpp}::g_signature = 0x04034b50 |
This value represents the signature of a Zip archive block defining a ZipLocalEntry.
Definition at line 59 of file ziplocalentry.cpp.
Referenced by zipios::ZipLocalEntry::read(), and zipios::ZipLocalEntry::write().
const uint16_t zipios::anonymous_namespace{ziplocalentry.cpp}::g_trailing_data_descriptor = 1 << 3 |
This mask is used to know whether the size and CRC are saved in the header or after the header. At this time Zipios does not support such trailing data as it makes use of the compressed and uncompressed sizes to properly stream the output data.
This is bit 3. (see point 4.4.4 in doc/zip-format.txt)
Definition at line 71 of file ziplocalentry.cpp.
Referenced by zipios::ZipLocalEntry::hasTrailingDataDescriptor().