1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
//---------------------------------------------------------------------------
// Adler32
//---------------------------------------------------------------------------
//
// Reviewed for Unicode support by Jim Park -- 08/29/2007
#if !defined(Adler32_H)
#define Adler32_H
namespace Checksum {
typedef unsigned int uInt; /* 16 bits or more */
typedef unsigned long uLong; /* 32 bits or more */
typedef unsigned char Byte; /* 8 bits */
uLong adler32(uLong adler, const Byte *buf, uInt len);
}
#endif // Adler32_H
|