I have a vector that contains zlib-compressed (deflated) data. I would like to decompress it with Boost\'s filtering_istream. There is only one example on their sit
filtering_istream
How about an array_source?
in.push(array_source(&*compressed_data.begin(), &*compressed_data.end()));
Then use boost::iostreams::copy with a std::insert_iterator to push the result characters into a new vector.
boost::iostreams::copy
std::insert_iterator