blob: 70f31edae23a9e76f64fd7e1e117ce1e77796044 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// ADLER-32 checksum algorithm
#ifndef ADLER32_HH
#define ADLER32_HH
#include <cstdlib>
namespace Carpet {
unsigned long
adler32(char const *const data, // location of the data
std::size_t const len); // length of the data in bytes
}
#endif // #ifndef ADLER32_HH
|