#include <sstream>
boost::beast::multi_buffer buffer;
xxxxxx
std::string str;
std::stringstream ss;
ss << boost::beast::buffers(buffer.data());
ss >> str;
boost::beast::multi_buffer的转换方法
于 2019-11-24 13:50:59 首次发布
#include <sstream>
boost::beast::multi_buffer buffer;
xxxxxx
std::string str;
std::stringstream ss;
ss << boost::beast::buffers(buffer.data());
ss >> str;