CMS 3D CMS Logo

Adler32Calculator.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_Adler32Calculator_h
2 #define FWCore_Utilities_Adler32Calculator_h
3 
4 #include <sys/types.h>
5 #include <cstdint>
6 
7 /*
8 Code to calculate a Adler32 checksum on a file. This code is based
9 on code copied from the web in the public domain.
10 */
11 
12 namespace cms {
13 
14  void Adler32(char const* data, size_t len, uint32_t& a, uint32_t& b);
15  uint32_t Adler32(char const* data, size_t len);
16 } // namespace cms
17 #endif
Namespace of DDCMS conversion namespace.
void Adler32(char const *data, size_t len, uint32_t &a, uint32_t &b)
double b
Definition: hdecay.h:120
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
double a
Definition: hdecay.h:121