util.hpp File Reference
#include "PSync/common.hpp"
#include <ndn-cxx/encoding/buffer.hpp>
#include <ndn-cxx/util/span.hpp>
+ Include dependency graph for util.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 psync
 
 psync::detail
 

Functions

std::shared_ptr< ndn::Buffer > psync::detail::compress (CompressionScheme scheme, ndn::span< const uint8_t > buffer)
 
std::shared_ptr< ndn::Buffer > psync::detail::decompress (CompressionScheme scheme, ndn::span< const uint8_t > buffer)
 
uint32_t psync::detail::murmurHash3 (const void *key, size_t len, uint32_t seed)
 
uint32_t psync::detail::murmurHash3 (uint32_t seed, const ndn::Name &name)
 Compute 32-bit MurmurHash3 of Name TLV-VALUE. More...
 
uint32_t psync::detail::murmurHash3 (uint32_t seed, uint32_t value)