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