p7zip/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_checksum.h
2017-10-11 12:35:36 +02:00

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