mirror of https://github.com/vee1e/flatbuffers - FlatBuffers: Memory Efficient Serialization Library
Find a file
Joseph Pyott 9fa8245e81 Python: Added support for file_identifiers (#5123)
* Python: Added support for file_identifiers

* Added tests. Fixed file_identifier code.

* Python: Fixed excessive padding of file_identifier. Repaired tests.

* Python: Made code compatible with python2.7

* Python: Typo fix in @endcond

* whitespace normaalization

* Stylistic change from if(not X is None) to if(X is not None). Added comment to type string.

* Python: Added support for automatic code generation of file_identifiers. Added tests for said code generation.

* converted sprintf to snprintf

* Bugfix, added snprint deffinition for MSVC

* changed snprint deffinition for MSVC to sprint_s

* changed scanf to IntToStringHex. Renamed HasFileIdentifier to GenHasFileIdentifier.

* Added updated genereated code to commit

* Python bugix: flatc no longer produces HasFileIdentfier for shcemas with no file identifier

* Added tests to verify `MonsterBufferHasIdentifier` returns false on no Identifier

* Python: added tests for GetBufferIdentifier and BufferHasIdentifier
Python: removed unessasary parenethesis in if statements
Minor format changes.

* Python : correceted instances of keyword arguments being called as positional arguments

* fixed typos and grammer in comments

* Minor style fixes

* Indentation fix

* Equals style changes

* Python: Fixed Alignment Issues. Changed test code to test against atual output

* Ran make(forgot to run make last commit)

* Python: Style changes

* Style changes

* indentation and style

* readded CONTRIBUTING.md

* Formatting tweak

Mostly to make CI run again

* More formatting fixes

* More formatting fixes

* More formatting fixes

* More formatting fixes

* Formatting fix

* More formatting fixes

* Formatting

* ran generate_code.sh
2019-07-26 11:06:25 -07:00
.appveyor Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
.bazelci
.github
.travis Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
android
CMake
conan
dart
docs Change deprecated vector Length() to size() in tutorial (#5450) 2019-07-25 11:09:40 -07:00
go [Go] Public visibility for gazelle default target (#5361) 2019-05-21 14:48:51 -07:00
grpc Enforce matching version in Java and C#. 2019-05-31 12:15:19 -07:00
include/flatbuffers Fix numeric_limits<T>::max() to avoid conflict with windows.h header (#5462) 2019-07-26 09:14:05 -07:00
java/com/google/flatbuffers Update Utf8.java: more detailed exception message (#5421) 2019-06-27 12:19:57 -07:00
js [JS/TS] Size prefix support (#5326) 2019-05-16 11:43:31 -07:00
lobster Lobster: added builder API for tables 2019-05-22 19:42:13 -07:00
lua
net/FlatBuffers Set C# Struct/Table visibility to public (#5381) (#5416) 2019-06-24 17:51:04 -07:00
php
python Python: Added support for file_identifiers (#5123) 2019-07-26 11:06:25 -07:00
reflection Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
rust/flatbuffers [rust] Ran rustfmt against library code (#5389) 2019-07-09 13:41:51 -07:00
samples Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
snap
src Python: Added support for file_identifiers (#5123) 2019-07-26 11:06:25 -07:00
tests Python: Added support for file_identifiers (#5123) 2019-07-26 11:06:25 -07:00
.clang-format
.editorconfig
.gitattributes
.gitignore
.travis.yml Pin FlatBuffers Android Travis builds to NDK r17c (#5460) 2019-07-25 17:58:02 -07:00
appveyor.yml
BUILD Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
build_defs.bzl
CMakeLists.txt Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
composer.json
conanfile.py
CONTRIBUTING.md
LICENSE.txt
package.json
pom.xml Enforce matching version in Java and C#. 2019-05-31 12:15:19 -07:00
readme.md
WORKSPACE Fix compatability with Bazel 0.27 (#5412) 2019-06-20 10:25:41 -07:00

logo FlatBuffers

Join the chat at https://gitter.im/google/flatbuffers Build Status Build status

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.

Supported operating systems

  • Windows
  • MacOS X
  • Linux
  • Android
  • And any others with a recent C++ compiler.

Supported programming languages

  • C++
  • C#
  • C
  • Dart
  • Go
  • Java
  • JavaScript
  • Lobster
  • Lua
  • PHP
  • Python
  • Rust
  • TypeScript

and more in progress...

Contribution

To contribute to this project, see CONTRIBUTING.

Licensing

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