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

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

#endif // CORE_CRC64_HH