---
name: "zipheadio.h"
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/zipheadio.h"
---

# zipheadio.h(3)

Header file that defines I/O functions for the header structures defined in ziphead.h.

## NAME

zipheadio.h - Header file that defines I/O functions for the header structures defined in **ziphead.h**.

## SYNOPSIS

`#include 'zipios++/zipios-config.h'`\
 `#include 'zipios++/meta-iostreams.h'`\
 `#include <string>`\
 `#include <vector>`\
 `#include 'zipios++/ziphead.h'`\
 `#include 'zipios++/zipios_defs.h'`\

### Functions

uint16 **zipios::ztohs** (unsigned char \*buf)\
 uint32 **zipios::ztohl** (unsigned char \*buf)\
 uint32 **zipios::htozl** (unsigned char \*buf)\
 uint16 **zipios::htozs** (unsigned char \*buf)\
 uint32 **zipios::readUint32** (istream &is)\
 void **zipios::writeUint32** (uint32 host\_val, ostream &os)\
 uint16 **zipios::readUint16** (istream &is)\
 void **zipios::writeUint16** (uint16 host\_val, ostream &os)\
 void **zipios::readByteSeq** (istream &is, string &con, int count)\
 void **zipios::writeByteSeq** (ostream &os, const string &con)\
 void **zipios::readByteSeq** (istream &is, unsigned char \*buf, int count)\
 void **zipios::writeByteSeq** (ostream &os, const unsigned char \*buf, int count)\
 void **zipios::readByteSeq** (istream &is, vector\< unsigned char \> &vec, int count)\
 void **zipios::writeByteSeq** (ostream &os, const vector\< unsigned char \> &vec)\
 istream & **zipios::operator\>\>** (istream &is, ZipLocalEntry &zlh)\
 istream & **zipios::operator\>\>** (istream &is, DataDescriptor &dd)\
 istream & **zipios::operator\>\>** (istream &is, ZipCDirEntry &zcdh)\
 ostream & **zipios::operator\<\<** (ostream &os, const ZipLocalEntry &zlh)\
 ostream & **zipios::operator\<\<** (ostream &os, const ZipCDirEntry &zcdh)\
 ostream & **zipios::operator\<\<** (ostream &os, const EndOfCentralDirectory &eocd)\

## Detailed Description

Header file that defines I/O functions for the header structures defined in **ziphead.h**.

Definition in file **zipheadio.h**.

## Author

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