This commit is contained in:
Wouter van Oortmerssen
2016-07-27 17:20:35 -07:00

View File

@@ -103,7 +103,7 @@ To use:
cout << monsterobj->name; // This is now a std::string! cout << monsterobj->name; // This is now a std::string!
monsterobj->name = "Bob"; // Change the name. monsterobj->name = "Bob"; // Change the name.
FlatBufferBuilder fbb; FlatBufferBuilder fbb;
monsterobj->Pack(fbb); // Serialize into new buffer. CreateMonster(fbb, monsterobj->get()); // Serialize into new buffer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
## Reflection (& Resizing) ## Reflection (& Resizing)