Hi,

I use Capnproto to serialise data. What is the best way to fill
nestedList and list from std::vector<std::vector<bool>> resp.
std::vector<bool>? For list I used initList() and the set() method in a
loop but I am not sure how to proceed with nestedList. Do I have to
create kj::Arrays for the nested lists?

--
struct Name {
        nestedList @0 :List(List(Bool));
        list @1 :List(Bool);
}
--


Best,

Frank

-- 
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