summaryrefslogtreecommitdiffstats
path: root/src/core/math/crc64.hh
blob: 3ece0dfdac4d2a792bca68bce41c2b8fc4f32357 (plain)
1
2
3
4
5
6
7
8
9
#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));
std::uint64_t crc64(std::string_view buffer, std::uint64_t combine = UINT64_C(0));
} // namespace math