ALBA
Static Public Member Functions | List of all members
albaDataChecksum Class Reference

#include <albaDataChecksum.h>

Static Public Member Functions

static unsigned long Adler32Checksum (unsigned char *data, int len)
 
static unsigned long CombineAdler32Checksums (unsigned long chcksum1, unsigned long chcksum2)
 

Detailed Description

class name: albaDataChecksum Can compute Adler checksum for a given data, and combine two adler checksums in order to obtain a third checksum

Definition at line 29 of file albaDataChecksum.h.

Member Function Documentation

◆ Adler32Checksum()

unsigned long albaDataChecksum::Adler32Checksum ( unsigned char *  data,
int  len 
)
inlinestatic

Computes Adler32 checksum for the given data.

Definition at line 42 of file albaDataChecksum.h.

◆ CombineAdler32Checksums()

unsigned long albaDataChecksum::CombineAdler32Checksums ( unsigned long  chcksum1,
unsigned long  chcksum2 
)
inlinestatic

Combines two checksums computed by Adler32Checksum to give a new one.

Definition at line 59 of file albaDataChecksum.h.


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