commit | e3017029647a88eb6f509ee9744012fffeb0d371 | [log] [tgz] |
---|---|---|
author | Dominic Battre <battre@google.com> | Fri Oct 21 18:09:28 2022 +0200 |
committer | GitHub <noreply@github.com> | Fri Oct 21 09:09:28 2022 -0700 |
tree | 130542f1322d349fe4cef1cf73e88dd038c4be73 | |
parent | f7b734438defe803dd25e0a367fe3b3c994faa0c [diff] |
Make type conversions explicit. (#7595) As Java does not support unsigned integer types, the value types are "rounded up" (an uint32 is represented as a long) but persisted correctly (an uint32 is persisted as 4 bytes). This CL makes a cast operation explicit so that the compiler does not throw warning messages. Co-authored-by: Dominic Battre <battre@chromium.org> Co-authored-by: Derek Bailey <derekbailey@google.com>
FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.
Go to our landing page to browse our documentation.
Code generation and runtime libraries for many popular languages.
and more in progress...
flatbuffers
tag for any questions regarding FlatBuffers.To contribute to this project, see CONTRIBUTING.
Please see our Security Policy for reporting vulnerabilities.
Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.