mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
Explained GetRoot<Monster> vs GetMonster.
Change-Id: Ic302096c07551b5c1aff0b261a329c46964cf337
This commit is contained in:
@@ -1384,6 +1384,8 @@ won't work**
|
||||
|
||||
// `monster` is of type `Monster *`.
|
||||
// Note: root object pointers are NOT the same as `buffer_pointer`.
|
||||
// `GetMonster` is a convenience function that calls `GetRoot<Monster>`,
|
||||
// the latter is also available for non-root types.
|
||||
~~~
|
||||
</div>
|
||||
<div class="language-java">
|
||||
|
||||
Reference in New Issue
Block a user