lzham_checksum.h 362 B

12345678910111213
  1. // File: lzham_checksum.h
  2. // See Copyright Notice and license at the end of include/lzham.h
  3. #pragma once
  4. namespace lzham
  5. {
  6. const uint cInitAdler32 = 1U;
  7. uint adler32(const void* pBuf, size_t buflen, uint adler32 = cInitAdler32);
  8. const uint cInitCRC32 = 0U;
  9. uint crc32(uint crc, const lzham_uint8 *ptr, size_t buf_len);
  10. } // namespace lzham