boost::asio::streambuf b;
std::istream is(&b);
is.unsetf(std::ios_base::skipws);
std::string sz;
sz.append(std::istream_iterator<char>(is), std::istream_iterator<char>());
std::cout << sz;
Powered by: 博客园 Copyright © 2024 hcfalan Powered by .NET 9.0 on Kubernetes