On 3/12/2018 3:28 AM, Kenton Varda wrote:
For the base serialization (assuming C++): MessageBuilder::getSegmentsForOutput() returns an array of arrays pointing to the segments of the message (does not do a copy; returns pointers directly into the existing underlying memory). Do whatever you want with them. On the receiving end, use SegmentArrayMessageReader to take an array-of-arrays and read messages from them (again, with no copies).

If you want to implement an alternative RPC transport, you need to write your own implementation of capnp::VatNetwork (defined in capnp/rpc.h).
Thanks, this answers my question

You received this message because you are subscribed to the Google Groups "Cap'n 
Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capnproto+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to