mirror of https://github.com/vee1e/flatbuffers - FlatBuffers: Memory Efficient Serialization Library
Find a file
Baptiste Lepilleur 5b5fcbfc00 Java: fix unsigned default value code generation and add 'L' suffix for long default value (#4051)
* Java: emit "signed" equivalent of unsigned default value in generated code and add "L" suffix to long default value.

* Updated generated code

* Only convert ulong to "signed" equivalent. ubyte and ushort don't need specific handling as "user facing" type is int. uint need 'L' suffix as "user facing" type is long.

* Added missing cast to primitive type of default value which is in "user facing" type in builder.add<type>() calls.

* Do not cast default value to actual type in C#.
2016-10-21 14:27:15 -07:00
android
biicode
CMake Debianization with CPack 2016-08-25 00:00:22 +03:00
docs Allow other pointer types than unique_ptr for object API. 2016-10-17 09:54:52 -07:00
go Implement mutators for Go 2016-07-20 22:58:22 +05:30
grpc Add missing include (#4052) 2016-10-17 09:57:46 -07:00
include/flatbuffers Added functionality to obtain a buffer pointer from a root. 2016-10-19 16:24:24 -07:00
java/com/google/flatbuffers Fixed Java LookupByKey functionality for Java 1.6 2016-08-26 13:58:16 -07:00
js Clarified in the docs how to get to the serialized bytes. 2016-08-10 17:53:40 -07:00
net/FlatBuffers Added IFlatbufferObject.cs file to project for .net. 2016-09-19 16:16:15 +09:00
php
python
reflection
samples Allow other pointer types than unique_ptr for object API. 2016-10-17 09:54:52 -07:00
src Java: fix unsigned default value code generation and add 'L' suffix for long default value (#4051) 2016-10-21 14:27:15 -07:00
tests Java: fix unsigned default value code generation and add 'L' suffix for long default value (#4051) 2016-10-21 14:27:15 -07:00
.gitattributes
.gitignore option to build shared library,defeault off 2016-09-07 01:12:04 +08:00
.travis.yml
appveyor.yml Added AppVeyor CI. 2016-07-27 18:38:27 -07:00
biicode.conf
CMakeLists.txt Fixed unused variable warnings, and made sure they are on. 2016-10-17 13:06:11 -07:00
composer.json
CONTRIBUTING.md
LICENSE.txt
pom.xml 1.4 prep fixes 2016-08-15 17:29:35 -07:00
readme.md Added AppVeyor CI. 2016-07-27 18:38:27 -07:00

logo FlatBuffers

Build Status Build status

FlatBuffers is an efficient cross platform serialization library for games and other memory constrained apps. It allows you to directly access serialized data without unpacking/parsing it first, while still having great forwards/backwards compatibility.

Go to our landing page to browse our documentation.

Supported operating systems

  • Android
  • Windows
  • MacOS X
  • Linux

Supported programming languages

  • C++
  • C#
  • C
  • Go
  • Java
  • JavaScript
  • PHP
  • Python

and many more in progress...

Contribution

To contribute to this project, see CONTRIBUTING.

Integration

For applications on Google Play that integrate this tool, usage is tracked. This tracking is done automatically using the embedded version string (flatbuffer_version_string), and helps us continue to optimize it. Aside from consuming a few extra bytes in your application binary, it shouldn't affect your application at all. We use this information to let us know if FlatBuffers is useful and if we should continue to invest in it. Since this is open source, you are free to remove the version string but we would appreciate if you would leave it in.

Licensing

Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.