mirror of https://github.com/vee1e/flatbuffers - FlatBuffers: Memory Efficient Serialization Library
Find a file
Richard A Hofer f8b203c9c4
Add vectorNumElements attribute to Builder for simpler vector creation. (#6328)
* Add vectorNumElements attribute to Builder for simpler vector creation.

This adds a default to EndVector which should simplify its use.

* Update tutorial to reflect new default arg in Python EndVector.

* Remove optional argument to Python EndVector.

* Add generated files.

* Unset Builder.vectorNumElems when not in use.
2020-12-14 12:00:28 -08:00
.appveyor
.bazelci
.github Fix Max CI build path (#6333) 2020-12-11 10:31:20 -08:00
.travis [CI] Adds formatter to CI (#6272) 2020-12-11 10:46:10 -08:00
android Modernize android build and sample (#6229) 2020-11-05 14:23:37 -08:00
bazel Allow to run cpp tests under grpc/tests/ using bazel. (#6040) 2020-07-21 11:08:01 -07:00
CMake Version message should be a "STATUS" to avoid going to stderr. (#6316) 2020-12-07 11:50:29 -08:00
conan
dart [JS] FlexBuffers Fix for wrong type of offset and length values (#6107) 2020-09-10 12:36:37 -07:00
docs Add vectorNumElements attribute to Builder for simpler vector creation. (#6328) 2020-12-14 12:00:28 -08:00
go Support size-prefixed buffers and add tests for size-prefixed messages (#6232) 2020-11-05 11:23:56 -08:00
grpc [Swift] Adds a format file and reformats the swift project (#6250) 2020-11-16 19:52:38 +03:00
include/flatbuffers Add flatc option to inhibit all warnings #6005 (#6301) 2020-12-10 14:03:53 -08:00
java/com/google/flatbuffers [Java] allowing larger buffer sizes when growing a byte buffer (#6118) 2020-09-17 11:55:24 -07:00
js [JS/TS] Rewrite flexbuffers JS to TS (#6148) 2020-10-19 13:11:35 -07:00
lobster [Lobster] optional scalars support 2020-08-18 14:00:02 -07:00
lua
mjs [JS/TS] Modernize TypeScript / JavaScript flatbuffers support (#6095) 2020-09-17 12:21:14 -07:00
net/FlatBuffers [C#] Optional Scalars (#6217) 2020-10-30 13:18:59 -07:00
php
python Add vectorNumElements attribute to Builder for simpler vector creation. (#6328) 2020-12-14 12:00:28 -08:00
reflection Optional-ness in reflection (#6097) 2020-09-11 14:20:32 -07:00
rust bumprust (#6322) 2020-12-09 11:34:19 -08:00
samples Rust Flatbuffers Verifier (#6269) 2020-12-07 18:37:51 -05:00
snap + Add removable-media plug to the snapcraft config (#6083) 2020-08-24 09:55:38 -07:00
src Add vectorNumElements attribute to Builder for simpler vector creation. (#6328) 2020-12-14 12:00:28 -08:00
swift [Swift] Adds a format file and reformats the swift project (#6250) 2020-11-16 19:52:38 +03:00
tests Add vectorNumElements attribute to Builder for simpler vector creation. (#6328) 2020-12-14 12:00:28 -08:00
ts Add type annotation to unspecified array (#6264) 2020-11-16 10:49:53 -08:00
.clang-format
.editorconfig
.eslintrc.js [JS/TS] Modernize TypeScript / JavaScript flatbuffers support (#6095) 2020-09-17 12:21:14 -07:00
.gitattributes
.gitignore [C++] Add ParseJson(), Parser(Parser&&), update fuzzers (#6284) 2020-11-23 10:17:44 -08:00
.travis.yml [CI] Adds formatter to CI (#6272) 2020-12-11 10:46:10 -08:00
appveyor.yml Moved various language tests from AppVeyor to GitHub Actions (#6300) 2020-12-03 11:26:27 -08:00
BUILD Allow to run cpp tests under grpc/tests/ using bazel. (#6040) 2020-07-21 11:08:01 -07:00
build_defs.bzl
CMakeLists.txt [TS] GRPC Implementation (#6141) 2020-10-07 09:56:30 -07:00
composer.json
conanfile.py
CONTRIBUTING.md
Formatters.md [CI] Adds formatter to CI (#6272) 2020-12-11 10:46:10 -08:00
LICENSE.txt
package.json [JS/TS] fix flatbuffers default export (#6123) 2020-09-21 09:46:24 -07:00
pom.xml
readme.md
swift.swiftformat [Swift] Adds a format file and reformats the swift project (#6250) 2020-11-16 19:52:38 +03:00
tsconfig.json [JS/TS] Rewrite flexbuffers JS to TS (#6148) 2020-10-19 13:11:35 -07:00
tsconfig.mjs.json [JS/TS] Rewrite flexbuffers JS to TS (#6148) 2020-10-19 13:11:35 -07:00
WORKSPACE Bump version of rules_go to 0.24.5 (#6234) 2020-11-12 10:04:34 -08:00
yarn.lock [JS/TS] Modernize TypeScript / JavaScript flatbuffers support (#6095) 2020-09-17 12:21:14 -07:00

logo FlatBuffers

Build Status Build status Join the chat at https://gitter.im/google/flatbuffers Discord Chat 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 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.