mirror of https://github.com/vee1e/flatbuffers - FlatBuffers: Memory Efficient Serialization Library
Find a file
Wen Sun eb1abb51ea
Add support for using array of scalar as key field in Cpp (#7623)
* add support for using array of scalar as key field

* update cmakelist and test.cpp to include the tests

* update bazel rule

* address comments

* clang format

* delete comment

* delete comment

* address the rest of the commnets

* address comments

* update naming in test file

* format build file

* buildifier

* make keycomparelessthan call keycomparewithvalue

* update to use flatbuffer array instead of raw pointer

* clang

* format

* revert format

* revert format

* update

* run generate_code.py

* run code generator

* revert changes by generate_code.py

* fist run make flatc and then run generate_code.py

Co-authored-by: Wen Sun <sunwen@google.com>
2022-11-18 11:04:46 -08:00
.bazelci [swift] Add bazel configuration for Swift (#7195) 2022-03-29 21:30:33 -07:00
.github Temporary fix for SLSA generators (#7636) 2022-11-10 20:09:01 -06:00
android FlatBuffers Version 22.10.26 (#7607) 2022-10-26 16:02:38 -07:00
bazel
benchmarks Started to migrate to target_compile_options (#7222) 2022-04-06 13:25:43 -07:00
CMake [CMake]: only warn when the working directory in a git worktree (#7562) 2022-11-11 02:21:38 +00:00
conan remove travis config (#7522) 2022-09-10 12:36:51 -07:00
dart Fix import problem in dart generated files. (fixes #7609). (#7621) 2022-11-13 19:21:57 +00:00
docs Fix #7580 by documenting union schema evolution rules (#7585) 2022-10-17 17:49:28 -04:00
go
grpc FlatBuffers Version 22.10.26 (#7607) 2022-10-26 16:02:38 -07:00
include/flatbuffers Add support for using array of scalar as key field in Cpp (#7623) 2022-11-18 11:04:46 -08:00
java FlatBuffers Version 22.10.26 (#7607) 2022-10-26 16:02:38 -07:00
js
kotlin Replace bash JavaTest.sh with mvn test (#7500) 2022-09-11 17:46:46 -07:00
lobster
lua
mjs
net/FlatBuffers FlatBuffers Version 22.10.26 (#7607) 2022-10-26 16:02:38 -07:00
nim [Nim] Bfbs Nim Generator (#7534) 2022-10-21 14:30:04 -04:00
php
python Add CreateSharedString to python builder (#7608) 2022-10-29 00:28:35 +00:00
reflection Add support for metadata attributes for enum values (#7567) (#7568) 2022-10-06 20:18:00 -04:00
rust Bump Rust version to 22.10.26 before publication (#7622) 2022-11-03 16:24:00 +00:00
samples Put documentation to bfbs if it is not empty (#7649) 2022-11-17 15:55:42 -08:00
scripts Fix import problem in dart generated files. (fixes #7609). (#7621) 2022-11-13 19:21:57 +00:00
snap
src Add support for using array of scalar as key field in Cpp (#7623) 2022-11-18 11:04:46 -08:00
swift FlatBuffers Version 22.10.26 (#7607) 2022-10-26 16:02:38 -07:00
tests Add support for using array of scalar as key field in Cpp (#7623) 2022-11-18 11:04:46 -08:00
ts [TS] Make strict compliant and improve typings (#7549) 2022-09-29 15:03:35 -07:00
.clang-format
.editorconfig
.eslintrc.js
.gitattributes
.gitignore Add _deps/ to gitignore 2022-11-13 12:00:07 -08:00
BUILD.bazel code gen flexbuffer verifier (#7207) 2022-04-05 16:29:42 -07:00
build_defs.bzl Move flatbuffer_ts_library to typescript.bzl (#7183) 2022-03-22 21:41:39 -07:00
CHANGELOG.md FlatBuffers Version 22.10.25 (#7604) 2022-10-26 00:03:49 -07:00
CMakeLists.txt Add support for using array of scalar as key field in Cpp (#7623) 2022-11-18 11:04:46 -08:00
composer.json
conanfile.py
CONTRIBUTING.md
FlatBuffers.podspec FlatBuffers Version 22.10.26 (#7607) 2022-10-26 16:02:38 -07:00
Formatters.md
LICENSE.txt
package.json FlatBuffers Version 22.10.26 (#7607) 2022-10-26 16:02:38 -07: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 Moves swift package to root of repository so it can be used directly … (#7548) 2022-09-27 14:32:05 -07:00
readme.md Fix current official name of macOS (#7627) 2022-11-08 09:49:27 -08:00
rollup.config.js [TS/JS] Add rollup and config to generate iife flatbuffers bundle (#7449) 2022-08-29 16:37:43 -07:00
SECURITY.md
swift.swiftformat
tsconfig.json
tsconfig.mjs.json
typescript.bzl [TS/Bazel] Minor improvements to typescript.bzl (#7300) 2022-08-05 22:04:05 -07:00
WORKSPACE Upgrade grpc to 1.49.0 and make sure it builds (#7538) 2022-09-21 12:53:03 -07:00
yarn.lock [TS/JS] Move TS tests to dedicated folder and deps upgrade (#7508) 2022-09-12 20:03:23 -07:00

logo FlatBuffers

Build 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
  15. TypeScript - NPM

and more in progress...

  1. Nim

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.