29#include <boost/iostreams/copy.hpp>
30#include <boost/iostreams/filter/gzip.hpp>
31#include <boost/iostreams/filtering_streambuf.hpp>
33#include <Ice/InputStream.h>
42 const auto first =
reinterpret_cast<const Ice::Byte*
>(sv.data());
43 const auto last = first + sv.size();
44 Ice::InputStream{std::make_pair(first, last)}.read(result);
80 std::stringstream istr;
82 boost::iostreams::filtering_istreambuf in;
83 in.push(boost::iostreams::gzip_decompressor());
85 std::stringstream ostr;
86 boost::iostreams::copy(in, ostr);
This file offers overloads of toIce() and fromIce() functions for STL container types.
void compressedIceBlobToObject(T &result, const std::string_view &sv)
void iceBlobToObject(T &result, const std::string_view &sv)
T deserialize(const std::string_view &sv)
void deserialize(T &result, const std::string_view &sv)
T deserialize(const std::string_view &sv)
void deserialize(T &result, const std::string_view &sv)