srecord
1.65.0
|
The adler32 class is used to represent the running value of a 32-bit Adler checksum of series of bytes. More...
#include <adler32.h>
Public Member Functions | |
virtual | ~adler32 () |
The destructor. More... | |
adler32 () | |
The default constructor. More... | |
adler32 (const adler32 &) | |
The copy constructor. More... | |
adler32 & | operator= (const adler32 &) |
The assignment operator. More... | |
unsigned long | get () const |
The get method is used to obtain the running value of the checksum. More... | |
void | next (unsigned char) |
The next method is used to advance the state by one byte. More... | |
void | nextbuf (const void *, size_t) |
The nextbuf method is used to advance the state by a series of bytes. More... | |
The adler32 class is used to represent the running value of a 32-bit Adler checksum of series of bytes.
See wikipedia for a description http://en.wikipedia.org/wiki/Adler-32
|
virtual |
The destructor.
srecord::adler32::adler32 | ( | ) |
The default constructor.
srecord::adler32::adler32 | ( | const adler32 & | ) |
The copy constructor.
unsigned long srecord::adler32::get | ( | ) | const |
The get method is used to obtain the running value of the checksum.
void srecord::adler32::next | ( | unsigned char | ) |
The next method is used to advance the state by one byte.
void srecord::adler32::nextbuf | ( | const void * | , |
size_t | |||
) |
The nextbuf method is used to advance the state by a series of bytes.