|
srecord
1.65.0
|
The crc32 class is used to represent the running value of a 32-bit cyclic redundancy check of series of bytes. More...
#include <crc32.h>
Public Types | |
| enum | seed_mode_t { seed_mode_ccitt , seed_mode_xmodem } |
Public Member Functions | |
| virtual | ~crc32 () |
| The destructor. More... | |
| crc32 (seed_mode_t seed_mode=seed_mode_ccitt) | |
| The default constructor. More... | |
| crc32 (const crc32 &) | |
| The copy constructor. More... | |
| crc32 & | operator= (const crc32 &) |
| The assignment operator. More... | |
| unsigned long | get () const |
| The get method is used to obtain the running value of the cyclic redundancy check. 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 crc32 class is used to represent the running value of a 32-bit cyclic redundancy check of series of bytes.
|
virtual |
The destructor.
| srecord::crc32::crc32 | ( | seed_mode_t | seed_mode = seed_mode_ccitt | ) |
The default constructor.
| srecord::crc32::crc32 | ( | const crc32 & | ) |
The copy constructor.
| unsigned long srecord::crc32::get | ( | ) | const |
The get method is used to obtain the running value of the cyclic redundancy check.
| void srecord::crc32::next | ( | unsigned char | ) |
The next method is used to advance the state by one byte.
| void srecord::crc32::nextbuf | ( | const void * | , |
| size_t | |||
| ) |
The nextbuf method is used to advance the state by a series of bytes.