28 #include "quachecksum32.h"
40 quint32
calculate(
const QByteArray &data)
override;
42 void reset()
override;
43 void update(
const QByteArray &buf)
override;
44 quint32
value()
override;
CRC32 checksum.
Definition: quacrc32.h:35
virtual quint32 calculate(const QByteArray &data)=0
Calculates the checksum for data.
quint32 value() override
Value of the checksum calculated for the stream passed throw update().
Definition: quacrc32.cpp:49
void update(const QByteArray &buf) override
Updates the calculated checksum for the stream.
Definition: quacrc32.cpp:44
virtual void reset()=0
Resets the calculation on a checksun for a stream.
Checksum interface.
Definition: quachecksum32.h:52
virtual void update(const QByteArray &buf)=0
Updates the calculated checksum for the stream.
virtual quint32 value()=0
Value of the checksum calculated for the stream passed throw update().
void reset() override
Resets the calculation on a checksun for a stream.
Definition: quacrc32.cpp:39
quint32 calculate(const QByteArray &data) override
Calculates the checksum for data.
Definition: quacrc32.cpp:34