QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Namespaces | Functions
qgsziputils.h File Reference
#include "qgis_core.h"
#include "qgis_sip.h"
#include <QStringList>
Include dependency graph for qgsziputils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QgsZipUtils
 

Functions

CORE_EXPORT bool QgsZipUtils::decodeGzip (const char *bytesIn, std::size_t size, QByteArray &bytesOut)
 Decodes gzip byte stream, returns true on success.
 
CORE_EXPORT bool QgsZipUtils::decodeGzip (const QByteArray &bytesIn, QByteArray &bytesOut)
 Decodes gzip byte stream, returns true on success.
 
CORE_EXPORT bool QgsZipUtils::encodeGzip (const QByteArray &bytesIn, QByteArray &bytesOut)
 Encodes gzip byte stream, returns true on success.
 
CORE_EXPORT const QStringList QgsZipUtils::files (const QString &zip)
 Returns the list of files within a zip file.
 
CORE_EXPORT bool QgsZipUtils::isZipFile (const QString &filename)
 Returns true if the file name is a zipped file ( i.e with a '.qgz' extension, false otherwise.
 
CORE_EXPORT bool QgsZipUtils::unzip (const QString &zip, const QString &dir, QStringList &files, bool checkConsistency=true)
 Unzip a zip file in an output directory.
 
CORE_EXPORT bool QgsZipUtils::zip (const QString &zip, const QStringList &files)
 Zip the list of files in the zip file.