summaryrefslogtreecommitdiffstats
path: root/core/math/crc64.hh
blob: 5a6fea4cdaee87fbe35d8201d7d84634b699d7f3 (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