20#ifndef BEAST_HASH_XXHASHER_H_INCLUDED
21#define BEAST_HASH_XXHASHER_H_INCLUDED
23#include <boost/endian/conversion.hpp>
43 auto ret = XXH3_createState();
52 static constexpr auto const endian = boost::endian::order::native;
75 XXH3_64bits_reset_withSeed(
state_, seed);
84 XXH3_64bits_reset_withSeed(
state_, seed);
90 XXH3_64bits_update(
state_, key, len);
96 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