Memory Efficient Serialization Library
C++ C# Dart PHP Python Java Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github Added PULL_REQUEST_TEMPLATE.md Feb 8, 2017
.travis Change mikeholler to PYPI_USERNAME Dec 13, 2017
CMake Fix a small problem with add_subdirectory(${FLATBUFFERS_DIR}) from to… Jun 1, 2018
android Text files should not have executable bit set (#4480) Nov 6, 2017
conan Conan build packages on CI (#4590) (#4594) Aug 16, 2018
dart Ensure strings are null terminated when written from Dart (#4862) Aug 9, 2018
docs Proposing use of C++ header files and functions (#4869) Aug 13, 2018
go Merge pull request #4820 from nairb774/master Jul 26, 2018
grpc Remove using namespace std; (#4851) Aug 6, 2018
include/flatbuffers Add C#/Java generator behaviour for 'private' attribute (#4882) Aug 16, 2018
java/com/google/flatbuffers Java/C#/Python prefixed size support (#4445) Mar 12, 2018
js Adding JS function to get the File Identifier (#4715) Apr 23, 2018
lobster FlatBuffers implementation for the Lobster programming language Jul 29, 2018
lua Fixed minalign in Lua being reset on StartObject Jul 23, 2018
net/FlatBuffers Performance Increase of Vector of Structures using .NET BlockCopy (#4830 Jul 26, 2018
php Trimmed vtables of trailing zeroes. Aug 24, 2017
python python: do not clobber minalign when we create objects (#4833) Jul 23, 2018
reflection Include services in reflection data (fixes #4639) (#4713) Apr 27, 2018
samples FlatBuffers implementation for the Lobster programming language Jul 29, 2018
src Add C#/Java generator behaviour for 'private' attribute (#4882) Aug 16, 2018
tests Add C#/Java generator behaviour for 'private' attribute (#4882) Aug 16, 2018
.clang-format Made all C++ files clang-formatted. Dec 21, 2017
.editorconfig added config files for popular formatting tools (#4554) Dec 21, 2017
.gitattributes Text files should not have executable bit set (#4480) Nov 6, 2017
.gitignore FlatBuffers implementation for the Lobster programming language Jul 29, 2018
.travis.yml Conan build packages on CI (#4590) (#4594) Aug 16, 2018
BUILD Remove FLATBUFFERS_COPTS from bazel BUILD (#4872) Aug 10, 2018
CMakeLists.txt Attach header directory information to the "flatbuffers" library targ… Aug 6, 2018
CONTRIBUTING.md Fixed link to Google C++ Style Guide. Feb 9, 2017
LICENSE.txt Fix Visual Studio 2012 build warning. Sep 11, 2015
WORKSPACE Add initial Bazel WORKSPACE and BUILD (#4608) Feb 5, 2018
appveyor.yml Conan build packages on CI (#4590) (#4594) Aug 16, 2018
composer.json (PHP) add experimental support for PHP language. Nov 17, 2015
conanfile.py Conan build packages on CI (#4590) (#4594) Aug 16, 2018
package.json Update version number to 1.9 Apr 5, 2018
pom.xml Vector of unions support for java and c# (#4735) May 14, 2018
readme.md adds https to landing page link so it resolves (#4757) May 31, 2018

readme.md

logo FlatBuffers

Join the chat at https://gitter.im/google/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.