37 return adler32( adler32(0L, Z_NULL, 0), (
const Bytef*)data.data(), data.size() );
void update(const QByteArray &buf)
Updates the calculated checksum for the stream.
quint32 calculate(const QByteArray &data)
Calculates the checksum for data.
void reset()
Resets the calculation on a checksun for a stream.
quint32 value()
Value of the checksum calculated for the stream passed throw update().