![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Helper class for CRC-32 checksum calculation. More...
#include <CCrcCalculator.h>
Public Types | |
typedef QVector< quint8 > | ByteStream |
Static Public Member Functions | |
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 Protected Member Functions | |
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 21 of file CCrcCalculator.h.
QVector<quint8> istd::CCrcCalculator::ByteStream |
Definition at line 24 of file CCrcCalculator.h.
|
static |
Get 32-bit CRC value for the given memory block.
|
static |
Get 32-bit CRC value for a given file.
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inlinestaticprotected |
Update CRC value for the new input.
Definition at line 54 of file CCrcCalculator.h.
© Witold Gantzke and Kirill Lepskiy