From f40d09cb8f712e87691af4912f3630d92d692779 Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Dec 2025 15:14:26 +0500 Subject: Shuffle stuff around - Use the new and improved hierarchy I figured out when making Prospero chat - Re-add NSIS scripts, again from Prospero - Update most build and utility scripts with their most recent versions --- src/core/math/crc64.hh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/core/math/crc64.hh (limited to 'src/core/math/crc64.hh') diff --git a/src/core/math/crc64.hh b/src/core/math/crc64.hh new file mode 100644 index 0000000..3ece0df --- /dev/null +++ b/src/core/math/crc64.hh @@ -0,0 +1,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& 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 -- cgit