mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-30 11:00:01 +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 *`.
|
// `monster` is of type `Monster *`.
|
||||||
// Note: root object pointers are NOT the same as `buffer_pointer`.
|
// 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>
|
||||||
<div class="language-java">
|
<div class="language-java">
|
||||||
|
|||||||
Reference in New Issue
Block a user