mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-07 22:03:40 +00:00
Misc documentation fixes.
Change-Id: Id7be5baba7d8a11ca050e8d94d95857406690378
This commit is contained in:
@@ -710,6 +710,10 @@ adding fields to our monster.
|
||||
other `vector`s), collect their offsets into a temporary data structure, and
|
||||
then create an additional `vector` containing their offsets.*
|
||||
|
||||
If instead of creating a vector from an existing array you serialize elements
|
||||
individually one by one, take care to note that this happens in reverse order,
|
||||
as buffers are built back to front.
|
||||
|
||||
For example, take a look at the two `Weapon`s that we created earlier (`Sword`
|
||||
and `Axe`). These are both FlatBuffer `table`s, whose offsets we now store in
|
||||
memory. Therefore we can create a FlatBuffer `vector` to contain these
|
||||
|
||||
Reference in New Issue
Block a user