crc32c.h 290 B

12345678910
  1. #pragma once
  2. #include <util/system/types.h>
  3. // Threadsafe
  4. ui32 Crc32c(const void* p, size_t size) noexcept;
  5. ui32 Crc32cExtend(ui32 init, const void* data, size_t n) noexcept;
  6. ui32 Crc32cCombine(ui32 blockACrc, ui32 blockBCrc, size_t blockBSize) noexcept;
  7. bool HaveFastCrc32c() noexcept;