#include <CheckSum.h>
Public Member Functions | |
| CheckSum () | |
| void | clear () |
| void | add (unsigned long w) |
| void | add (unsigned int w) |
| void | add (unsigned short w) |
| void | add (unsigned char *b, unsigned int length) |
| void | add (unsigned char b) |
| unsigned long | get () |
Protected Attributes | |
| unsigned short | r |
| unsigned short | c1 |
| unsigned short | c2 |
| unsigned long | sum |
|
|
Default constructor |
|
|
Add one byte of data for checksuming
|
|
||||||||||||
|
add an array of byte to the checksum.
|
|
|
add data to the checksum
|
|
|
add data to the checksum
|
|
|
add data to the checksum
|
|
|
Reset to an initial state. |
|
|
Get the checksum of the data. |
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2