|
sipxportlib
Version 3.3
|
#include <UtlCrc32.h>
Public Member Functions | |
| UtlCrc32 () | |
| void | reset () |
| void | calc (unsigned char ch) |
| void | calc (unsigned char *pData, size_t nData) |
| void | calc (const UtlString &data) |
| unsigned long | getValue () const |
Protected Attributes | |
| unsigned long | mCrc |
Utility class for generating CRC-32s
| UtlCrc32 | ( | ) |
Default no-argument constructor
| void reset | ( | void | ) |
Reset the Crc32 value
| void calc | ( | unsigned char | ch | ) |
Adds a single byte to the checksum
| void calc | ( | unsigned char * | pData, |
| size_t | nData | ||
| ) |
Adds a sequence of bytes to the checksum
| void calc | ( | const UtlString & | data | ) |
Adds a sequence of bytes contained within a UtlString to the checksum
| unsigned long getValue | ( | ) | const |
Get the current CRC-32 value
|
protected |
1.8.11