28#include <QtCore/QByteArray>
29#include "quazip_global.h"
62 virtual quint32
calculate(
const QByteArray &data) = 0;
70 virtual void update(
const QByteArray &buf) = 0;
Checksum interface.
Definition quachecksum32.h:53
virtual quint32 calculate(const QByteArray &data)=0
Calculates the checksum for data.
virtual void update(const QByteArray &buf)=0
Updates the calculated checksum for the stream.
virtual void reset()=0
Resets the calculation on a checksun for a stream.
virtual quint32 value()=0
Value of the checksum calculated for the stream passed throw update().