14 lines
362 B
C++
14 lines
362 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(uint crc, const lzham_uint8 *ptr, size_t buf_len);
|
|
|
|
} // namespace lzham
|