39 #ifndef OSDAB_ZIP_P__H 40 #define OSDAB_ZIP_P__H 52 #define ZIP_READ_BUFFER (256*1024) 83 inline void encryptBytes(quint32* keys,
char* buffer, qint64 read);
85 inline void setULong(quint32 v,
char* buffer,
unsigned int offset);
86 inline void updateKeys(quint32* keys,
int c)
const;
87 inline void initKeys(quint32* keys)
const;
93 #endif // OSDAB_ZIP_P__H
void initKeys(quint32 *keys) const
void updateKeys(quint32 *keys, int c) const
Zip::ErrorCode createEntry(const QFileInfo &file, const QString &root, Zip::CompressionLevel level)
char buffer2[ZIP_READ_BUFFER]
Zip::ErrorCode createArchive(QIODevice *device)
QString extractRoot(const QString &p)
Zip::CompressionLevel detectCompressionByMime(const QString &ext)
void encryptBytes(quint32 *keys, char *buffer, qint64 read)
int decryptByte(quint32 key2) const
char buffer1[ZIP_READ_BUFFER]
QMap< QString, ZipEntryP * > * headers
Zip::ErrorCode closeArchive()
void setULong(quint32 v, char *buffer, unsigned int offset)