srecord: srecord::adler32 Class Reference

srecord 1.65.0

Loading...
Searching...
No Matches
srecord::adler32 Class Reference

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.
| adler32 ()
| The default constructor.
| adler32 (const adler32 &)
| The copy constructor.
adler32 & | operator= (const adler32 &)
| The assignment operator.
unsigned long | get () const
| The get method is used to obtain the running value of the checksum.
void | next (unsigned char)
| The next method is used to advance the state by one byte.
void | nextbuf (const void *, size_t)
| The nextbuf method is used to advance the state by a series of bytes.

## Detailed Description

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

Definition at line 34 of file adler32.h.

## Constructor & Destructor Documentation

## ◆ ~adler32()

virtual srecord::adler32::~adler32 | ( |  | ) |
| virtual

The destructor.

## ◆ adler32() [1/2]

srecord::adler32::adler32 | ( |  | ) |

The default constructor.

Referenced by adler32(), and operator=().

## ◆ adler32() [2/2]

srecord::adler32::adler32 | ( | const adler32 & |  | ) |

The copy constructor.

References adler32().

## Member Function Documentation

## ◆ operator=()

adler32 & srecord::adler32::operator= | ( | const adler32 & |  | ) |

The assignment operator.

References adler32().

## ◆ get()

unsigned long srecord::adler32::get | ( |  | ) | const

The get method is used to obtain the running value of the checksum.

## ◆ next()

void srecord::adler32::next | ( | unsigned char |  | ) |

The next method is used to advance the state by one byte.

## ◆ nextbuf()

void srecord::adler32::nextbuf | ( | const void * | ,
|  | size_t | )

The nextbuf method is used to advance the state by a series of bytes.

The documentation for this class was generated from the following file:

- adler32.h