Re: [capnproto] Converting AnyStruct to DynamicStruct

2021-11-30 Thread 'Kenton Varda' via Cap'n Proto
Hi Vaci, `anyReader.as(structSchema)` should do it. -Kenton On Tue, Nov 30, 2021 at 2:54 PM Vaci wrote: > Apologies if there is an obvious answer, but f I have a > capnp::StructSchema, and a capnp::AnyStruct::Reader, then can I create a > capnp::DynamicStruct::Reader from them, and if so,

[capnproto] Converting AnyStruct to DynamicStruct

2021-11-30 Thread Vaci
Apologies if there is an obvious answer, but f I have a capnp::StructSchema, and a capnp::AnyStruct::Reader, then can I create a capnp::DynamicStruct::Reader from them, and if so, how? Thanks Vaci -- You received this message because you are subscribed to the Google Groups "Cap'n Proto"