20 #ifndef PSYNC_DETAIL_UTIL_HPP
21 #define PSYNC_DETAIL_UTIL_HPP
25 #include <ndn-cxx/encoding/buffer.hpp>
26 #include <ndn-cxx/util/span.hpp>
31 murmurHash3(
const void* key,
size_t len, uint32_t seed);
45 std::shared_ptr<ndn::Buffer>
48 std::shared_ptr<ndn::Buffer>
uint32_t murmurHash3(const void *key, size_t len, uint32_t seed)
std::shared_ptr< ndn::Buffer > compress(CompressionScheme scheme, ndn::span< const uint8_t > buffer)
std::shared_ptr< ndn::Buffer > decompress(CompressionScheme scheme, ndn::span< const uint8_t > buffer)