---
name: "zipios_EndOfCentralDirectory"
section: "3"
platform: "linux"
package: "libzipios++-dev"
version: "0.1.5.9+cvs.2007.04.28-6"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/zipios_EndOfCentralDirectory"
---

# zipios\_EndOfCentralDirectory(3)

The end of the Central directory structure.

## NAME

zipios::EndOfCentralDirectory - The end of the Central directory structure.

## 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)\
 uint32 **offset** () const \
 uint16 **totalCount** () const \
 void **setCDirSize** (uint32 size)\
 void **setOffset** (uint32 offset)\
 void **setTotalCount** (uint16 c)\
 int **eocdOffSetFromEnd** () const \
 bool **read** (vector\< unsigned char \> &buf, int pos)\

### Friends

ostream & **operator\<\<** (ostream &os, const **EndOfCentralDirectory** &eocd)\

## Detailed Description

The end of the Central directory structure.

This structure is stored in the end of the zipfile, and contains information about the zipfile, including the position of the start of the central directory.

Definition at line 159 of file ziphead.h.

## Author

Generated automatically by Doxygen for Zipios++ from the source code.
