Accessing FlatBuffers records when dealing with arrays

Viewed 43

I am trying to understand how to access (multiple) records on FlatBuffers The examples that are available are all dealing with a single record. The google example deals with 1x monster record and nothing else. I have seen an example that discusses the schema for multiple records. This example can be found here:

https://medium.com/@brijesh.vicky/steps-to-use-flatbuffers-abbd7addeeb9

In this example, can someone tell me how to access repos

1 Answers

Tests are a great place to learn how to do things in codebases, since they are usually uptodate and provide minimal examples.

Look at how this test accesses multiple objects, where TestArrayOfTables is defined here. That would be an example of how you could have multiple records in a flatbuffer, and access them with the C# generated code.

Related