$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [asio] continuous reads into streambuf
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2018-05-25 15:37:28
On Fri, May 25, 2018 at 8:12 AM, Stephan Menzel via Boost-users
<boost-users_at_[hidden]> wrote:
> Gave my packet a method to de-serialize itself from a
> streambuf and return the number of missing bytes or 0 if ready.
That sounds better :) I do the same thing here:
<https://github.com/boostorg/beast/blob/develop/include/boost/beast/websocket/impl/stream.ipp#L331>
Regards