libdrmconf  0.10.4
A library to program DMR radios.
Public Member Functions | Protected Attributes | List of all members
CRC32 Class Reference

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.
 

Detailed Description

Implements the CRC32 checksum as used in DFU files.


The documentation for this class was generated from the following files: