p7zip-rar/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_checksum.h

14 lines
362 B
C
Raw Normal View History

2017-10-11 12:40:22 +02:00
// 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