summaryrefslogtreecommitdiffstats
path: root/core/math/crc64.hh
blob: ac2c4b620e942416150d7c93e0b7966617574846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef CORE_MATH_CRC64_HH
#define CORE_MATH_CRC64_HH 1
#pragma once

namespace math
{
std::uint64_t crc64(const void* buffer, std::size_t size, std::uint64_t combine = UINT64_C(0));
std::uint64_t crc64(const std::vector<std::byte>& buffer, std::uint64_t combine = UINT64_C(0));
std::uint64_t crc64(const std::string& buffer, std::uint64_t combine = UINT64_C(0));
} // namespace math

#endif // CORE_MATH_CRC64_HH