r5sdk/r5dev/thirdparty/lzham/include/lzham_checksum.h
Kawe Mazidjatari 90d87897f8 Improve consistency within the LZHAM library
Make CRC32 consistence with ADLER32
2022-11-17 20:35:43 +01:00

14 lines
370 B
C++

// File: lzham_checksum.h
// See Copyright Notice and license at the end of include/lzham.h
#pragma once
namespace lzham
{
const uint cInitAdler32 = 1U;
uint adler32(const void* pBuf, size_t buflen, uint adler32 = cInitAdler32);
const uint cInitCRC32 = 0U;
uint crc32(const void* pBuf, size_t buflen, uint crc32 = cInitCRC32);
} // namespace lzham