#include "PSync/detail/util.hpp"
#include "PSync/detail/config.hpp"
#include <ndn-cxx/encoding/buffer-stream.hpp>
#include <ndn-cxx/util/backports.hpp>
#include <ndn-cxx/util/exception.hpp>
#include <boost/iostreams/device/array.hpp>
#include <boost/iostreams/filtering_stream.hpp>
#include <boost/iostreams/copy.hpp>
Go to the source code of this file.
|
std::shared_ptr< ndn::Buffer > | psync::compress (CompressionScheme scheme, const uint8_t *buffer, size_t bufferSize) |
|
std::shared_ptr< ndn::Buffer > | psync::decompress (CompressionScheme scheme, const uint8_t *buffer, size_t bufferSize) |
|
uint32_t | psync::murmurHash3 (uint32_t nHashSeed, const std::vector< unsigned char > &vDataToHash) |
|
uint32_t | psync::murmurHash3 (uint32_t nHashSeed, const std::string &str) |
|
uint32_t | psync::murmurHash3 (uint32_t nHashSeed, uint32_t value) |
|
static uint32_t | psync::ROTL32 (uint32_t x, int8_t r) |
|