libdrmconf
0.10.4
A library to program DMR radios.
|
Implements the CRC32 checksum as used in DFU files. More...
#include <crc32.hh>
Public Member Functions | |
CRC32 () | |
Default constructor. | |
void | update (uint8_t c) |
Update CRC with given byte. | |
void | update (const uint8_t *c, size_t n) |
Update CRC with given data. | |
void | update (const QByteArray &data) |
Update CRC with given data. | |
uint32_t | get () |
Returns the current CRC. | |
Protected Attributes | |
uint32_t | _crc |
Current CRC. | |
Implements the CRC32 checksum as used in DFU files.