20#ifndef BEAST_HASH_XXHASHER_H_INCLUDED
21#define BEAST_HASH_XXHASHER_H_INCLUDED
23#include <boost/endian/conversion.hpp>
44 auto ret = XXH3_createState();
53 static constexpr auto const endian = boost::endian::order::native;
76 XXH3_64bits_reset_withSeed(
state_, seed);
85 XXH3_64bits_reset_withSeed(
state_, seed);
91 XXH3_64bits_update(
state_, key, len);
97 return XXH3_64bits_digest(
state_);
xxhasher(Seed seed, Seed)
static constexpr auto const endian
xxhasher & operator=(xxhasher const &)=delete
static XXH3_state_t * allocState()
void operator()(void const *key, std::size_t len) noexcept
xxhasher(xxhasher const &)=delete