-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
I'm curious if this package has yet adopted the v2 branch of capnproto upstream. Say you have a message you have created in C++, like:
// message = ... is a builder of some kind
VectorOutputStream stream;
capnp::MallocMessageBuilder builder;
builder.setRoot(message.asReader());
capnp::writeMessage(stream, builder.getSegmentsForOutput());
ArrayPtr<byte> p_bytes = stream.getArray();And now, you take those p_bytes and transport them to Java, and read them. Is this supported? If so, is that the right way to do it?
Metadata
Metadata
Assignees
Labels
No labels