Helper class for CRC-32 checksum calculation.
More...
#include <CCrcCalculator.h>
|
| static quint32 | GetCrcFromData (const quint8 *dataPtr, int dataSize) |
| | Get 32-bit CRC value for the given memory block.
|
| |
| static quint32 | GetCrcFromStream (const ByteStream &byteStream) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
| |
| static quint32 | GetCrcFromFile (const QString &fileName) |
| | Get 32-bit CRC value for a given file.
|
| |
|
| static void | UpdateCrc (const quint8 &byte, quint32 &dwCrc32) |
| | Update CRC value for the new input.
|
| |
Helper class for CRC-32 checksum calculation.
Definition at line 17 of file CCrcCalculator.h.
◆ ByteStream
◆ GetCrcFromData()
| static quint32 istd::CCrcCalculator::GetCrcFromData |
( |
const quint8 * |
dataPtr, |
|
|
int |
dataSize |
|
) |
| |
|
static |
Get 32-bit CRC value for the given memory block.
◆ GetCrcFromFile()
| static quint32 istd::CCrcCalculator::GetCrcFromFile |
( |
const QString & |
fileName | ) |
|
|
static |
Get 32-bit CRC value for a given file.
◆ GetCrcFromStream()
| static quint32 istd::CCrcCalculator::GetCrcFromStream |
( |
const ByteStream & |
byteStream | ) |
|
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ UpdateCrc()
| void istd::CCrcCalculator::UpdateCrc |
( |
const quint8 & |
byte, |
|
|
quint32 & |
dwCrc32 |
|
) |
| |
|
inlinestaticprotected |
The documentation for this class was generated from the following file: