CommonLib
Loading...
Searching...
No Matches
xxhash64_provider.inl
Go to the documentation of this file.
1#include "../thirdparty/xxHash/xxh3.h"
2
3namespace hedgedev::csl::hash
4{
9
10 inline bool xxhash64_provider::reset()
11 {
12 return XXH3_64bits_reset(&m_state) == XXH_OK;
13 }
14
16 {
17 return XXH3_64bits_update(&m_state, in_data, in_length) == XXH_OK;
18 }
19
21 {
22 return XXH3_64bits_digest(&m_state);
23 }
24}
Definition xxhash64_provider.inl:4