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

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