zipios++  2.0.2
Zipios++ – a small C++ library that provides easy access to .zip files.
Classes | Variables
zipios::anonymous_namespace{ziplocalentry.cpp} Namespace Reference

Various definitions for local blocks. More...


struct  ZipLocalEntryHeader
 ZipLocalEntry Header. More...


uint32_t const g_signature = 0x04034b50
 The signature of a local entry. More...
uint16_t const g_trailing_data_descriptor = 1 << 3
 A bit in the general purpose flags. More...

Detailed Description

The ZipLocalEntry needs a signature, a flag, and makes use of a structure declaration (although we cannot really use that structure.)

Variable Documentation

uint32_t const zipios::anonymous_namespace{ziplocalentry.cpp}::g_signature = 0x04034b50

This value represents the signature of a Zip archive block defining a ZipLocalEntry.

"PK 3.4"

Definition at line 59 of file ziplocalentry.cpp.

Referenced by zipios::ZipLocalEntry::read(), and zipios::ZipLocalEntry::write().

uint16_t const 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().