[capnproto] Can I do better?

2022-02-25 Thread Jitesh Khandelwal
I am trying to implement a middle layer which serialises some data from a data structure into a buffer, which is owned by and whose contents are written on the wire by an outer layer. Currently, my code looks as follows -

Re: [capnproto] Can I do better?

2022-02-26 Thread Jitesh Khandelwal
e capnp::writeMessage() to write the message to that stream. > > -Kenton > > On Fri, Feb 25, 2022 at 12:31 PM Jitesh Khandelwal > wrote: > >> I am trying to implement a middle layer which serialises some data from a >> data structure into a buffer, which is owned by an