mercredi 28 février 2018

How can we convert `boost::asio::streambuf` or `boost::asio::array` to int or long?

I see that boost::asio::streambuf can be converted to some stream and converting it to a integer is done by streambuf->stringstream->string->int;

Is there any way to do streambuf->int?

Aucun commentaire:

Enregistrer un commentaire