[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-users
Subject:    Re: [Boost-users] [asio] continuous reads into streambuf
From:       Vinnie Falco via Boost-users <boost-users () lists ! boost ! org>
Date:       2018-05-25 15:37:28
Message-ID: CA+EzHGeD4=QZsCSAYgzNyiq6ezmtUR9KnD68Ab5qvkqEkrQqjg () mail ! gmail ! com
[Download RAW message or body]

On Fri, May 25, 2018 at 8:12 AM, Stephan Menzel via Boost-users
<boost-users@lists.boost.org> 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 mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic