mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
13 lines
265 B
C
13 lines
265 B
C
|
#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);
|
||
|
};
|
||
|
}
|