mirror of https://github.com/vee1e/flatbuffers - FlatBuffers: Memory Efficient Serialization Library
Find a file
Saman f838017860
Parsing from proto should keep field ID. (fixes #7645) (#7655)
* Parsing from proto should keep field ID. (fixes #7645)

* Fix failed tests

* Fix windows warning

* Improve attribute generation in proto to fbs

* Check if id is used twice. fix Some clang-format problems

* Test if fake id can solve the test problem

* Validate proto file in proto -> fbs generation.

* Fix error messages

* Ignore id in union

* Add keep proto id for legacy and check gap flag have been added. Reserved id will be checked.

* Add needed flags

* unit tests

* fix fromat problem. fix comments and error messages.

* clear

* More unit tests

* Fix windows build

* Fix include problems

* Fake commit to invoke rebuild

* Fix buzel build

* Fix some issues

* Fix comments, fix return value and sort for android NDK

* Fix return type

* Break down big function

* Place todo

---------

Co-authored-by: Derek Bailey <derekbailey@google.com>
2023-02-01 11:17:35 -08:00
.bazelci [swift] Add bazel configuration for Swift (#7195) 2022-03-29 21:30:33 -07:00
.github [TS/JS] Entry point per namespace and reworked 1.x compatible single file build (#7510) 2023-01-21 12:22:22 -08:00
android Final refactor for bfsb_generator* and text generator (#7806) 2023-01-31 09:35:34 -08:00
bazel
benchmarks Supported cmake 3.8 (#7801) 2023-01-29 23:00:57 -08:00
CMake Rename LICENSE.txt to LICENSE (#7808) 2023-01-30 21:36:30 -08:00
conan remove travis config (#7522) 2022-09-10 12:36:51 -07:00
dart FlatBuffers Version 23.1.21 (#7796) 2023-01-21 12:46:57 -08:00
docs [TS/JS] Entry point per namespace and reworked 1.x compatible single file build (#7510) 2023-01-21 12:22:22 -08:00
examples/go-echo Use FinshedBytes() in go-echo example instead of manually encoding offset (#7660) 2022-11-29 02:29:48 +00:00
go Remove go.mod to resolve ambiguous import issue (#7783) 2023-01-18 23:40:50 -08:00
grpc FlatBuffers Version 23.1.21 (#7796) 2023-01-21 12:46:57 -08:00
include/flatbuffers Parsing from proto should keep field ID. (fixes #7645) (#7655) 2023-02-01 11:17:35 -08:00
java FlatBuffers Version 23.1.21 (#7796) 2023-01-21 12:46:57 -08:00
js
kotlin Replace bash JavaTest.sh with mvn test (#7500) 2022-09-11 17:46:46 -07:00
lobster [Lobster] file_identifier support 2022-03-08 15:39:12 -08:00
lua
mjs
net/FlatBuffers FlatBuffers Version 23.1.21 (#7796) 2023-01-21 12:46:57 -08:00
nim [Nim] Bfbs Nim Generator (#7534) 2022-10-21 14:30:04 -04:00
php Fix PHP byte validation and reenable builds (#7670) 2022-11-29 08:12:28 -08:00
python FlatBuffers Version 23.1.21 (#7796) 2023-01-21 12:46:57 -08:00
reflection [TS/JS] Entry point per namespace and reworked 1.x compatible single file build (#7510) 2023-01-21 12:22:22 -08:00
rust FlatBuffers Version 23.1.21 (#7796) 2023-01-21 12:46:57 -08:00
samples FlatBuffers Version 23.1.21 (#7796) 2023-01-21 12:46:57 -08:00
scripts [TS/JS] Entry point per namespace and reworked 1.x compatible single file build (#7510) 2023-01-21 12:22:22 -08:00
snap use improved versioning (#6691) 2021-06-11 15:27:59 -07:00
src Parsing from proto should keep field ID. (fixes #7645) (#7655) 2023-02-01 11:17:35 -08:00
swift FlatBuffers Version 23.1.21 (#7796) 2023-01-21 12:46:57 -08:00
tests Parsing from proto should keep field ID. (fixes #7645) (#7655) 2023-02-01 11:17:35 -08:00
ts [TS/JS] Entry point per namespace and reworked 1.x compatible single file build (#7510) 2023-01-21 12:22:22 -08:00
.clang-format
.clang-tidy Add clang-tidy, fix some bugpron problems. (#7708) 2022-12-14 21:58:55 -08:00
.editorconfig
.eslintrc.js
.gitattributes
.gitignore Add _deps/ to gitignore 2022-11-13 12:00:07 -08:00
BUILD.bazel Final refactor for bfsb_generator* and text generator (#7806) 2023-01-31 09:35:34 -08:00
build_defs.bzl [TS/JS] Entry point per namespace and reworked 1.x compatible single file build (#7510) 2023-01-21 12:22:22 -08:00
CHANGELOG.md FlatBuffers Version 23.1.21 (#7796) 2023-01-21 12:46:57 -08:00
CMakeLists.txt Final refactor for bfsb_generator* and text generator (#7806) 2023-01-31 09:35:34 -08:00
composer.json
conanfile.py
CONTRIBUTING.md
FlatBuffers.podspec FlatBuffers Version 23.1.21 (#7796) 2023-01-21 12:46:57 -08:00
Formatters.md Ran clang-format-all.sh. Removed default --style=file parameter (#6639) 2021-05-15 12:54:08 -07:00
LICENSE Rename LICENSE.txt to LICENSE (#7808) 2023-01-30 21:36:30 -08:00
package.json FlatBuffers Version 23.1.21 (#7796) 2023-01-21 12:46:57 -08:00
Package.swift Moves swift package to root of repository so it can be used directly … (#7548) 2022-09-27 14:32:05 -07:00
Package@swift-5.5.swift Removes Dead code & regenerate code (#7744) 2023-01-06 16:40:40 -08:00
readme.md Rename LICENSE.txt to LICENSE (#7808) 2023-01-30 21:36:30 -08:00
SECURITY.md Create Security.md 2021-05-19 11:55:50 -07:00
swift.swiftformat Removes Dead code & regenerate code (#7744) 2023-01-06 16:40:40 -08:00
tsconfig.json [TS/JS] Entry point per namespace and reworked 1.x compatible single file build (#7510) 2023-01-21 12:22:22 -08:00
tsconfig.mjs.json [TS/JS] Entry point per namespace and reworked 1.x compatible single file build (#7510) 2023-01-21 12:22:22 -08:00
typescript.bzl [TS/JS] Entry point per namespace and reworked 1.x compatible single file build (#7510) 2023-01-21 12:22:22 -08:00
WORKSPACE [TS/JS] Entry point per namespace and reworked 1.x compatible single file build (#7510) 2023-01-21 12:22:22 -08:00
yarn.lock [TS/JS] Entry point per namespace and reworked 1.x compatible single file build (#7510) 2023-01-21 12:22:22 -08:00

logo FlatBuffers

Build status BuildKite status Fuzzing Status OpenSSF Scorecard Join the chat at https://gitter.im/google/flatbuffers Discord Chat Twitter Follow Twitter Follow

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
  • Linux
  • Android
  • And any others with a recent C++ compiler (C++ 11 and newer)

Supported programming languages

Code generation and runtime libraries for many popular languages.

  1. C
  2. C++ - snapcraft.io
  3. C# - nuget.org
  4. Dart - pub.dev
  5. Go - go.dev
  6. Java - Maven
  7. JavaScript - NPM
  8. Kotlin
  9. Lobster
  10. Lua
  11. PHP
  12. Python - PyPi
  13. Rust - crates.io
  14. Swift - swiftpackageindex
  15. TypeScript - NPM
  16. Nim

Versioning

FlatBuffers does not follow traditional Semver versioning (see rationale) but rather uses a format of the date of the release.

Contribution

To contribute to this project, see CONTRIBUTING.

Community

Security

Please see our Security Policy for reporting vulnerabilities.

Licensing

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