QuaZIP: quazip/quaadler32.h Source File

QuaZIP quazip-0-5-1

- Main Page
- Related Pages
- Classes
- Files
- Directories

- File List

quaadler32.h

    00001 #ifndef QUAADLER32_H
    00002 #define QUAADLER32_H
    00003
    00004 #include <QByteArray>
    00005
    00006 #include "quachecksum32.h"
    00007
    00009
    00013 class QUAZIP_EXPORT QuaAdler32 : public QuaChecksum32
    00014 {
    00015
    00016 public:
    00017         QuaAdler32();
    00018
    00019         quint32 calculate(const QByteArray &data);
    00020
    00021         void reset();
    00022         void update(const QByteArray &buf);
    00023         quint32 value();
    00024
    00025 private:
    00026         quint32 checksum;
    00027 };
    00028
    00029 #endif //QUAADLER32_H