|
Boost Users : |
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net