18 Dec
2018
18 Dec
'18
12:57 a.m.
On Mon, Dec 17, 2018 at 4:41 PM Steven Watanabe via Boost
asio::streambuf doesn't necessarily store contiguous data, so this can't work as is.
Actually it does, and you can simply write: boost::beast::buffers_front(streambuf.data()); To retrieve a const_buffer to the first (and only) buffer in the data. Thanks