#include <CRC32.hpp>
Definition at line 46 of file CRC32.hpp.
Public Member Functions | |
| CRC32 () | |
| Default constructor. | |
| void | reset () |
| Resets the CRC32 to initial value. | |
| unsigned int | getValue () const |
| Get the CRC32 checksum. | |
| void | update (const std::string &str) |
| Updates the CRC32 with specified string. | |
| void | update (const char *buf, unsigned int len) |
| Updates the CRC32 checksum with specified array of bytes. | |
Protected Attributes | |
| unsigned int | crc32 |
| The current CRC32 value. | |
Static Protected Attributes | |
| const unsigned int | crc_table [256] |
| Table used to compute the CRC32 value. | |
|
|
Default constructor.
|
|
|
Get the CRC32 checksum.
Definition at line 69 of file CRC32.hpp. Referenced by PNG::chunk(). |
|
|
Resets the CRC32 to initial value.
|
|
||||||||||||
|
Updates the CRC32 checksum with specified array of bytes.
|
|
|
Updates the CRC32 with specified string.
Definition at line 78 of file CRC32.hpp. Referenced by PNG::chunk(). |
|
|
The current CRC32 value.
|
|
|
Table used to compute the CRC32 value.
|
1.3.9.1