Header file that defines I/O functions for the header structures defined in ziphead.h.
More...
#include "zipios++/zipios-config.h"
#include "zipios++/meta-iostreams.h"
#include <string>
#include <vector>
#include "zipios++/ziphead.h"
#include "zipios++/zipios_defs.h"
#include "zipios++/fcollexceptions.h"
Go to the source code of this file.
|
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) |
|
Header file that defines I/O functions for the header structures defined in ziphead.h.
Definition in file zipheadio.h.
◆ htozl()
uint32 zipios::htozl |
( |
unsigned char * |
buf | ) |
|
|
inline |
◆ htozs()
uint16 zipios::htozs |
( |
unsigned char * |
buf | ) |
|
|
inline |
◆ readByteSeq() [1/3]
void zipios::readByteSeq |
( |
istream & |
is, |
|
|
string & |
con, |
|
|
int |
count |
|
) |
| |
|
inline |
◆ readByteSeq() [2/3]
void zipios::readByteSeq |
( |
istream & |
is, |
|
|
unsigned char * |
buf, |
|
|
int |
count |
|
) |
| |
|
inline |
◆ readByteSeq() [3/3]
void zipios::readByteSeq |
( |
istream & |
is, |
|
|
vector< unsigned char > & |
vec, |
|
|
int |
count |
|
) |
| |
|
inline |
◆ readUint16()
uint16 zipios::readUint16 |
( |
istream & |
is | ) |
|
|
inline |
◆ readUint32()
uint32 zipios::readUint32 |
( |
istream & |
is | ) |
|
|
inline |
◆ writeByteSeq() [1/3]
void zipios::writeByteSeq |
( |
ostream & |
os, |
|
|
const string & |
con |
|
) |
| |
|
inline |
◆ writeByteSeq() [2/3]
void zipios::writeByteSeq |
( |
ostream & |
os, |
|
|
const unsigned char * |
buf, |
|
|
int |
count |
|
) |
| |
|
inline |
◆ writeByteSeq() [3/3]
void zipios::writeByteSeq |
( |
ostream & |
os, |
|
|
const vector< unsigned char > & |
vec |
|
) |
| |
|
inline |
◆ writeUint16()
void zipios::writeUint16 |
( |
uint16 |
host_val, |
|
|
ostream & |
os |
|
) |
| |
|
inline |
◆ writeUint32()
void zipios::writeUint32 |
( |
uint32 |
host_val, |
|
|
ostream & |
os |
|
) |
| |
|
inline |
◆ ztohl()
uint32 zipios::ztohl |
( |
unsigned char * |
buf | ) |
|
|
inline |
◆ ztohs()
uint16 zipios::ztohs |
( |
unsigned char * |
buf | ) |
|
|
inline |