srecord  1.65.0
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. More...
 
 adler32 ()
 The default constructor. More...
 
 adler32 (const adler32 &)
 The copy constructor. More...
 
adler32operator= (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...
 

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.

◆ adler32() [2/2]

srecord::adler32::adler32 ( const adler32 )

The copy constructor.

Member Function Documentation

◆ operator=()

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

The assignment operator.

◆ 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: