class Core::Portable::ZipPackage
Overview
ZIP package. More…
#include <corefile.h> class ZipPackage: public Core::Portable::FilePackage { public: // structs struct Entry; // methods bool openFromFile(CStringPtr fileName, bool bufferedMode = false); bool openFromMemory(const void* data, uint32 size); void close(); uint32 getStreamSize(CStringPtr fileName) const; IO::Stream* openFirstStream(uint32& uncompressedSize); virtual bool fileExists(CStringPtr fileName); virtual IO::Stream* openStream(CStringPtr fileName); };
Inherited Members
public: // methods virtual bool fileExists(CStringPtr fileName) = 0; virtual IO::Stream* openStream(CStringPtr fileName) = 0;
Detailed Documentation
ZIP package.
Methods
bool openFromMemory(const void* data, uint32 size)
does not copy memory!
virtual bool fileExists(CStringPtr fileName)
Check if file exists.
virtual IO::Stream* openStream(CStringPtr fileName)
Open file for reading.