-
Notifications
You must be signed in to change notification settings - Fork 90
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels