Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
ZipReader Struct Reference

Detailed Description

Abstract interface class for reading a ZipFile.

See the example code FileZipReader for more information. You can also use the bin2c tool if you want to embed the ZIP file in the application executable or firmware.

#include <ZipFileIterator.h>

Inheritance diagram for ZipReader:

Public Member Functions

 ZipReader ()
 Uninitialized storage; call ZipReader_constructor before use. More...
 
 ZipReader (CspReader_Read r, U32 zipFileSize)
 Initialize a reader interface; no ZIP data is read yet. More...
 
- Public Member Functions inherited from CspReader
bool isValid ()
 
int read (void *data, U32 offset, U32 size, bool blockStart)
 Invoke the installed CspReader_Read callback synchronously. More...
 
void setIsValid ()
 Mark the implementation initialized after opening/checking its data. More...
 

Constructor & Destructor Documentation

◆ ZipReader()

ZipReader::ZipReader ( )

Uninitialized storage; call ZipReader_constructor before use.