New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why the need for a Root #65
Comments
Any table can be a root in a buffer. The root type is mostly for use by JSON, which doesn't specify any types, so we need to know where to start. The generated GetRoot functions are merely convenience. |
Ok, thanks. But in Java,
|
|
Thanks
|
To further my response to your issue #2, the built-in file_identifier functionality is now also available in Java. See the Schema docs, Java docs, and Java code. |
So... How do I access non root_type buffers, can't find anything like Get*** in c++ generated files and the same problem in go lang. |
Tried both latest master and latest release versions |
In C++ there is the GetRoot templated function that works with any table type. |
add getHashKey() and getRangeKey()
please explain me how to build flatc executable? |
What is the reason of using a root type. If i have Request and Response tables to be sent between two parties, so why we could not create them separately. A buffer could contain either a Request or a Response. In fact any message(Table) should be able to a root in a buffer.
The text was updated successfully, but these errors were encountered: