13 lines
265 B
C
Raw Normal View History

2022-05-21 19:58:09 +02:00
#pragma once
namespace Hashing
{
// Mark Adler's compact Adler32 hashing algorithm
// Originally from the public domain stb.h header.
class Adler32
{
public:
static uint32_t ComputeHash(uint32_t adler, const void* ptr, size_t buflen);
};
}