ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
Adler32 checksum. More...
#include <quazip/quaadler32.h>
Public Member Functions | |
QuaAdler32 () | |
quint32 | calculate (const QByteArray &data) |
Calculates the checksum for data. More... | |
void | reset () |
Resets the calculation on a checksun for a stream. More... | |
void | update (const QByteArray &buf) |
Updates the calculated checksum for the stream. More... | |
quint32 | value () |
Value of the checksum calculated for the stream passed throw update(). More... | |
Private Attributes | |
quint32 | checksum |
This class wrappers the adler32 function with the QuaChecksum32 interface. See QuaChecksum32 for more info.
Definition at line 38 of file quaadler32.h.
QuaAdler32::QuaAdler32 | ( | ) |
Definition at line 30 of file quaadler32.cpp.
References reset().
|
virtual |
data source data
This function has no efect on the value returned by value().
Implements QuaChecksum32.
Definition at line 35 of file quaadler32.cpp.
|
virtual |
Implements QuaChecksum32.
Definition at line 40 of file quaadler32.cpp.
References checksum.
Referenced by QuaAdler32().
|
virtual |
buf next portion of data from the stream
Implements QuaChecksum32.
Definition at line 45 of file quaadler32.cpp.
References checksum.
|
virtual |
Implements QuaChecksum32.
Definition at line 50 of file quaadler32.cpp.
References checksum.
|
private |
Definition at line 51 of file quaadler32.h.