Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:29:18

0001 #ifndef FWCore_Utilities_Adler32Calculator_h
0002 #define FWCore_Utilities_Adler32Calculator_h
0003 
0004 #include <sys/types.h>
0005 #include <cstdint>
0006 
0007 /*
0008 Code to calculate a Adler32 checksum on a file.  This code is based
0009 on code copied from the web in the public domain.
0010 */
0011 
0012 namespace cms {
0013 
0014   void Adler32(char const* data, size_t len, uint32_t& a, uint32_t& b);
0015   uint32_t Adler32(char const* data, size_t len);
0016 }  // namespace cms
0017 #endif