QuaZIP: quazip/quacrc32.h Source File

QuaZIP quazip-0-5-1

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

- File List

quacrc32.h

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