do i have to use the same builder, or can I use mutiple builders #8013
Unanswered
walksanatora
asked this question in
Q&A
Replies: 2 comments 1 reply
-
It is possible to define a schema that is recursive in nature but more than likely, you want everything encoded by a single builder. One of the features of flatbuffers is that messages are encoded into a single flat buffer (hence the name). |
Beta Was this translation helpful? Give feedback.
1 reply
-
I had a similar thought and I think the answer is to use the same builder. Not sure though. To avoid confusion I am using the object API and only pack and build at the end. The object API, ie tablenameT, you can absolutely nest them and build something to serialize later with fbb. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
so I am writing a flatbuffer program in rust
and I am wondering, do i have to pass the Flatbuffer builder into every function that makes a table, or can I make a temporary builder then just return the WipOffset
Beta Was this translation helpful? Give feedback.
All reactions