|
libcommonc++
0.7
|
A class for generating CRC-32 checksums. More...
#include <CRC32Checksum.h++>


Public Member Functions | |
| CRC32Checksum () | |
| Construct a new CRC32Checksum. More... | |
| ~CRC32Checksum () | |
| Destructor. More... | |
| void | update (const byte_t *buf, size_t len) |
| Update the checksum with more data. More... | |
| uint32_t | finish () |
| void | reset () |
Protected Attributes | |
| uint32_t | _sum |
| The current checksum value. More... | |
A class for generating CRC-32 checksums.
| CRC32Checksum | ( | ) |
Construct a new CRC32Checksum.
| ~CRC32Checksum | ( | ) |
Destructor.
| uint32_t finish | ( | ) |
| void reset | ( | ) |
|
virtual |
Update the checksum with more data.
| buf | A pointer to the data. |
| len | The length of the data. |
Implements Checksum.
|
protectedinherited |
The current checksum value.