ZIPIOS_ENDOFCENTRALDIRECTORY(3)
πΈ NAME πΈ
zipios::EndOfCentralDirectory β the end of the Central directory structure. bestie, this is the lil footer-of-footers of a zip file π
β¨ SYNOPSIS β¨
#include <ziphead.h>
π Public Member Functions π
EndOfCentralDirectory(const string &_zip_comment='', uint16 _disk_num=0, uint16 _cdir_disk_num=0, uint16 _cdir_entries=0, uint16 _cdir_tot_entries=0, uint32 _cdir_size=0, uint32 _cdir_offset=0)β the constructor, with all the defaults sitting prettyuint32 offset() constβ hands you the offsetuint16 totalCount() constβ hands you the total countvoid setCDirSize(uint32 size)β sets the central directory sizevoid setOffset(uint32 offset)β sets the offsetvoid setTotalCount(uint16 c)β sets the total countint eocdOffSetFromEnd() constβ how far the EOCD sits from the endbool read(vector<unsigned char> &buf, int pos)β reads it in from a buffer at a position
π«Ά Friends π«Ά
ostream & operator<<(ostream &os, const EndOfCentralDirectory &eocd)β the streaming bestie, so you can just print it
π Detailed Description π
The end of the Central directory structure. periodt.
This structure is stored in the end of the zipfile, and it's carrying all the info about the zipfile, including the position of the start of the central directory. like, it's the map at the back of the book fr fr π
Definition at line159of fileziphead.h. iconic placement ngl.
π Author π
Generated automatically by Doxygen for Zipios++ from the source code. not me being auto-generated πβ¨
okay that's the whole page, no cap π¦ β this was Zipios++, dated Tue Mar 24 2020, and honestly? she ate. mwah π π
π¦ where this page comes from
- ubuntu jammy: libzipios++-dev 0.1.5.9+cvs.2007.04.28-11build1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms