Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.bazelci/ | 04-Jul-2025 | - | 61 | 60 | ||
.github/ | 04-Jul-2025 | - | 1,060 | 912 | ||
CMake/ | 04-Jul-2025 | - | 654 | 588 | ||
android/ | 04-Jul-2025 | - | 1,260 | 1,033 | ||
bazel/ | 04-Jul-2025 | - | ||||
benchmarks/ | 04-Jul-2025 | - | 1,090 | 900 | ||
conan/ | 04-Jul-2025 | - | 132 | 80 | ||
dart/ | 04-Jul-2025 | - | 10,264 | 9,023 | ||
docs/ | 04-Jul-2025 | - | 8,770 | 6,624 | ||
docs-old/ | 04-Jul-2025 | - | 11,681 | 9,485 | ||
examples/go-echo/ | 04-Jul-2025 | - | 410 | 325 | ||
go/ | 04-Jul-2025 | - | 1,785 | 1,108 | ||
goldens/ | 04-Jul-2025 | - | 2,305 | 1,676 | ||
grpc/ | 04-Jul-2025 | - | 9,067 | 7,293 | ||
include/ | 04-Jul-2025 | - | 13,238 | 9,186 | ||
java/ | 04-Jul-2025 | - | 8,626 | 5,256 | ||
js/ | 04-Jul-2025 | - | 1 | 1 | ||
kotlin/ | 04-Jul-2025 | - | 9,005 | 5,723 | ||
lobster/ | 04-Jul-2025 | - | 313 | 262 | ||
lua/ | 04-Jul-2025 | - | 1,132 | 892 | ||
mjs/ | 04-Jul-2025 | - | 1 | 1 | ||
net/FlatBuffers/ | 04-Jul-2025 | - | 3,336 | 2,053 | ||
nim/ | 04-Jul-2025 | - | 467 | 373 | ||
php/ | 04-Jul-2025 | - | 1,691 | 875 | ||
python/ | 04-Jul-2025 | - | 4,740 | 3,324 | ||
reflection/ | 04-Jul-2025 | - | 187 | 165 | ||
rust/ | 04-Jul-2025 | - | 11,311 | 8,523 | ||
samples/ | 04-Jul-2025 | - | 4,892 | 3,527 | ||
scripts/ | 04-Jul-2025 | - | 952 | 673 | ||
snap/ | 04-Jul-2025 | - | 50 | 42 | ||
src/ | 04-Jul-2025 | - | 41,308 | 33,855 | ||
swift/ | 04-Jul-2025 | - | 4,167 | 2,271 | ||
tests/ | 04-Jul-2025 | - | 186,102 | 157,892 | ||
ts/ | 04-Jul-2025 | - | 3,349 | 2,693 | ||
.bazelignore | D | 04-Jul-2025 | 102 | 6 | 4 | |
.bazelrc | D | 04-Jul-2025 | 1.1 KiB | 19 | 18 | |
.clang-format | D | 04-Jul-2025 | 304 | 14 | 12 | |
.clang-tidy | D | 04-Jul-2025 | 15.4 KiB | 348 | 345 | |
.editorconfig | D | 04-Jul-2025 | 255 | 9 | 8 | |
.eslintrc.js | D | 04-Jul-2025 | 253 | 13 | 11 | |
.gitattributes | D | 04-Jul-2025 | 85 | 3 | 2 | |
.gitignore | D | 04-Jul-2025 | 2.5 KiB | 159 | 158 | |
.npmrc | D | 04-Jul-2025 | 12 | 2 | 1 | |
Android.bp | D | 04-Jul-2025 | 4.4 KiB | 172 | 156 | |
BUILD.bazel | D | 04-Jul-2025 | 3.1 KiB | 128 | 115 | |
CHANGELOG.md | D | 04-Jul-2025 | 7.8 KiB | 180 | 128 | |
CMakeLists.txt | D | 04-Jul-2025 | 23.4 KiB | 723 | 644 | |
CONTRIBUTING.md | D | 04-Jul-2025 | 2.2 KiB | 43 | 37 | |
FlatBuffers.podspec | D | 04-Jul-2025 | 1,000 | 25 | 20 | |
Formatters.md | D | 04-Jul-2025 | 1.1 KiB | 22 | 12 | |
LICENSE | D | 04-Jul-2025 | 11.1 KiB | 203 | 169 | |
METADATA | D | 04-Jul-2025 | 712 | 21 | 19 | |
MODULE.bazel | D | 04-Jul-2025 | 1.6 KiB | 78 | 73 | |
MODULE_LICENSE_APACHE2 | D | 04-Jul-2025 | 0 | |||
OWNERS | D | 04-Jul-2025 | 185 | 5 | 4 | |
Package.swift | D | 04-Jul-2025 | 979 | 37 | 18 | |
README.android | D | 04-Jul-2025 | 281 | 11 | 9 | |
README.md | D | 04-Jul-2025 | 4.8 KiB | 117 | 78 | |
SECURITY.md | D | 04-Jul-2025 | 481 | 12 | 8 | |
TEST_MAPPING | D | 04-Jul-2025 | 513 | 29 | 28 | |
build_defs.bzl | D | 04-Jul-2025 | 11.2 KiB | 293 | 273 | |
composer.json | D | 04-Jul-2025 | 377 | 18 | 18 | |
conanfile.py | D | 04-Jul-2025 | 3 KiB | 76 | 64 | |
extensions.bzl | D | 04-Jul-2025 | 604 | 20 | 16 | |
package.json | D | 04-Jul-2025 | 1.2 KiB | 46 | 45 | |
pnpm-lock.yaml | D | 04-Jul-2025 | 39.4 KiB | 1,183 | 1,026 | |
swift.swiftformat | D | 04-Jul-2025 | 1.4 KiB | 27 | 22 | |
tsconfig.json | D | 04-Jul-2025 | 289 | 16 | 15 | |
tsconfig.mjs.json | D | 04-Jul-2025 | 323 | 17 | 16 | |
typescript.bzl | D | 04-Jul-2025 | 3.3 KiB | 91 | 84 |
README.android
1URL: https://github.com/google/flatbuffers/releases/tag/v1.6.0 2Version: 1.6.0 3License: Apache License, Version 2.0 4License File: LICENSE 5Owners: siyamed 6 7Description: 8Cross platform serialization library. Used to read the metadata in a font. 9 10Local Modifications: 11No modifications.
README.md
1 FlatBuffers 2=========== 3 4 5[](https://buildkite.com/bazel/flatbuffers) 6[](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:flatbuffers) 7[](https:///discord.gg/6qgKs3R) 8[](https://twitter.com/wvo) 9[](https://twitter.com/dbaileychess) 10 11 12**FlatBuffers** is a cross platform serialization library architected for 13maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility. 14 15## Quick Start 16 171. Build the compiler for flatbuffers (`flatc`) 18 19 Use `cmake` to create the build files for your platform and then perform the compilation (Linux example). 20 21 ``` 22 cmake -G "Unix Makefiles" 23 make -j 24 ``` 25 262. Define your flatbuffer schema (`.fbs`) 27 28 Write the [schema](https://flatbuffers.dev/flatbuffers_guide_writing_schema.html) to define the data you want to serialize. See [monster.fbs](https://github.com/google/flatbuffers/blob/master/samples/monster.fbs) for an example. 29 303. Generate code for your language(s) 31 32 Use the `flatc` compiler to take your schema and generate language-specific code: 33 34 ``` 35 ./flatc --cpp --rust monster.fbs 36 ``` 37 38 Which generates `monster_generated.h` and `monster_generated.rs` files. 39 404. Serialize data 41 42 Use the generated code, as well as the `FlatBufferBuilder` to construct your serialized buffer. ([`C++` example](https://github.com/google/flatbuffers/blob/master/samples/sample_binary.cpp#L24-L56)) 43 445. Transmit/store/save Buffer 45 46 Use your serialized buffer however you want. Send it to someone, save it for later, etc... 47 486. Read the data 49 50 Use the generated accessors to read the data from the serialized buffer. 51 52 It doesn't need to be the same language/schema version, FlatBuffers ensures the data is readable across languages and schema versions. See the [`Rust` example](https://github.com/google/flatbuffers/blob/master/samples/sample_binary.rs#L92-L106) reading the data written by `C++`. 53 54## Documentation 55 56**Go to our [landing page][] to browse our documentation.** 57 58## Supported operating systems 59- Windows 60- macOS 61- Linux 62- Android 63- And any others with a recent C++ compiler (C++ 11 and newer) 64 65## Supported programming languages 66 67Code generation and runtime libraries for many popular languages. 68 691. C 701. C++ - [snapcraft.io](https://snapcraft.io/flatbuffers) 711. C# - [nuget.org](https://www.nuget.org/packages/Google.FlatBuffers) 721. Dart - [pub.dev](https://pub.dev/packages/flat_buffers) 731. Go - [go.dev](https://pkg.go.dev/github.com/google/flatbuffers) 741. Java - [Maven](https://search.maven.org/artifact/com.google.flatbuffers/flatbuffers-java) 751. JavaScript - [NPM](https://www.npmjs.com/package/flatbuffers) 761. Kotlin 771. Lobster 781. Lua 791. PHP 801. Python - [PyPI](https://pypi.org/project/flatbuffers/) 811. Rust - [crates.io](https://crates.io/crates/flatbuffers) 821. Swift - [swiftpackageindex](https://swiftpackageindex.com/google/flatbuffers) 831. TypeScript - [NPM](https://www.npmjs.com/package/flatbuffers) 841. Nim 85 86## Versioning 87 88FlatBuffers does not follow traditional SemVer versioning (see [rationale](https://github.com/google/flatbuffers/wiki/Versioning)) but rather uses a format of the date of the release. 89 90## Contribution 91 92* [FlatBuffers Issues Tracker][] to submit an issue. 93* [stackoverflow.com][] with [`flatbuffers` tag][] for any questions regarding FlatBuffers. 94 95*To contribute to this project,* see [CONTRIBUTING][]. 96 97## Community 98 99* [Discord Server](https:///discord.gg/6qgKs3R) 100 101## Security 102 103Please see our [Security Policy](SECURITY.md) for reporting vulnerabilities. 104 105## Licensing 106*Flatbuffers* is licensed under the Apache License, Version 2.0. See [LICENSE][] for the full license text. 107 108<br> 109 110 [CONTRIBUTING]: http://github.com/google/flatbuffers/blob/master/CONTRIBUTING.md 111 [`flatbuffers` tag]: https://stackoverflow.com/questions/tagged/flatbuffers 112 [FlatBuffers Google Group]: https://groups.google.com/forum/#!forum/flatbuffers 113 [FlatBuffers Issues Tracker]: http://github.com/google/flatbuffers/issues 114 [stackoverflow.com]: http://stackoverflow.com/search?q=flatbuffers 115 [landing page]: https://google.github.io/flatbuffers 116 [LICENSE]: https://github.com/google/flatbuffers/blob/master/LICENSE 117