40#ifndef __IoIntfZipReader_h
41#define __IoIntfZipReader_h
108 const char* pathName);
116#define IoIntfZipReader_destructor(o) IoIntfZipReader_close(o);
120#define IoIntfZipReader_getECode(o) (o)->lastECode
BA_API void IoIntfZipReader_constructor(IoIntfZipReader *o, IoIntf *io, const char *pathName)
Initialize and open a ZIP reader; see IoIntfZipReader::IoIntfZipReader.
#define IoIntfZipReader_getECode(o)
Read the stored construction/read status.
Definition: IoIntfZipReader.h:120
#define IoIntfZipReader_destructor(o)
Close without freeing the object itself.
Definition: IoIntfZipReader.h:116
BA_API int IoIntfZipReader_close(IoIntfZipReader *o)
Close the reader; see IoIntfZipReader::close for lifetime requirements.
int(* IoIntf_SeekAndRead)(ResIntfPtr super, BaFileSize offset, void *buf, size_t maxSize, size_t *size)
Perform a combined seek and read on a resource.
Definition: IoIntf.h:461
uint32_t U32
Unsigned 32-bit integer.
Definition: GenPrimT.h:93
The IoIntfZipReader, which implements the abstract ZipReader interface, makes it possible for a ZipIo...
Definition: IoIntfZipReader.h:54
int getECode()
Definition: IoIntfZipReader.h:130
IoIntfZipReader()
Uninitialized storage; call IoIntfZipReader_constructor before use or destruction.
Definition: IoIntfZipReader.h:57
~IoIntfZipReader()
Close any open resource, ignoring the close status.
Definition: IoIntfZipReader.h:125
int close()
Close and consume the underlying resource, even if closing fails.
Definition: IoIntfZipReader.h:127
The IoIntf class specifies an abstract file API, implementations include ZipIo, DiskIo,...
Definition: IoIntf.h:482
Abstract interface class for reading a ZipFile.
Definition: ZipFileIterator.h:74