Misc documentation fixes.

Change-Id: Id7be5baba7d8a11ca050e8d94d95857406690378
This commit is contained in:
Wouter van Oortmerssen
2017-08-10 11:25:13 -07:00
parent 7fe281295f
commit 4b27c92910
2 changed files with 12 additions and 2 deletions

View File

@@ -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