• Home
Name Date Size #Lines LOC

..--

BUILD.gnD12-May-20241.9 KiB4442

LICENSE.txtD12-May-202411.1 KiB203169

OAT.xmlD12-May-20244.7 KiB7323

README.OpenSourceD12-May-2024395 1211

README.mdD12-May-20242.3 KiB5946

README_zh.mdD12-May-20242.8 KiB7462

bundle.jsonD12-May-2024757 3938

install.pyD12-May-20241.7 KiB5829

v2.0.0.tar.gzD12-May-20241.5 MiB

README.OpenSource

1[
2  {
3    "Name": "openEuler:flatbuffers",
4    "License": "Apache-2.0",
5    "License File": "LICENSE.txt",
6    "Version Number": "2.0.0-1.oe2203",
7    "Owner": "chengfeng27@huawei.com",
8    "Upstream URL": "http://repo.openeuler.org/openEuler-22.03-LTS/EPOL/main/source/Packages/flatbuffers-2.0.0-1.oe2203.src.rpm",
9    "Description": "FlatBuffers: Memory Efficient Serialization Library"
10  }
11]
12

README.md

1![logo](http://google.github.io/flatbuffers/fpl_logo_small.png) FlatBuffers
2===========
3
4[![Build Status](https://travis-ci.org/google/flatbuffers.svg?branch=master)](https://travis-ci.org/google/flatbuffers)
5[![Build status](https://ci.appveyor.com/api/projects/status/yg5idd2fnusv1n10?svg=true)](https://ci.appveyor.com/project/gwvo/flatbuffers)
6[![Join the chat at https://gitter.im/google/flatbuffers](https://badges.gitter.im/google/flatbuffers.svg)](https://gitter.im/google/flatbuffers?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
7[![Discord Chat](https://img.shields.io/discord/656202785926152206.svg)](https:///discord.gg/6qgKs3R)
8[![Twitter Follow](https://img.shields.io/twitter/follow/wvo.svg?style=social)](https://twitter.com/wvo)
9
10
11**FlatBuffers** is a cross platform serialization library architected for
12maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.
13
14**Go to our [landing page][] to browse our documentation.**
15
16## Supported operating systems
17* Windows
18* MacOS X
19* Linux
20* Android
21* And any others with a recent C++ compiler.
22
23## Supported programming languages
24* C++
25* C#
26* C
27* Dart
28* Go
29* Java
30* JavaScript
31* Lobster
32* Lua
33* PHP
34* Python
35* Rust
36* TypeScript
37
38*and more in progress...*
39
40## Contribution
41* [FlatBuffers Google Group][] to discuss FlatBuffers with other developers and users.
42* [FlatBuffers Issues Tracker][] to submit an issue.
43* [stackoverflow.com][] with [`flatbuffers` tag][] for any questions regarding FlatBuffers.
44
45*To contribute to this project,* see [CONTRIBUTING][].
46
47## Licensing
48*Flatbuffers* is licensed under the Apache License, Version 2.0. See [LICENSE][] for the full license text.
49
50<br>
51
52   [CONTRIBUTING]: http://github.com/google/flatbuffers/blob/master/CONTRIBUTING.md
53   [`flatbuffers` tag]: https://stackoverflow.com/questions/tagged/flatbuffers
54   [FlatBuffers Google Group]: https://groups.google.com/forum/#!forum/flatbuffers
55   [FlatBuffers Issues Tracker]: http://github.com/google/flatbuffers/issues
56   [stackoverflow.com]: http://stackoverflow.com/search?q=flatbuffers
57   [landing page]: https://google.github.io/flatbuffers
58   [LICENSE]: https://github.com/google/flatbuffers/blob/master/LICENSE.txt
59

README_zh.md

1![logo](http://google.github.io/flatbuffers/fpl_logo_small.png) FlatBuffers
2===========
3
4[![Build Status](https://travis-ci.org/google/flatbuffers.svg?branch=master)](https://travis-ci.org/google/flatbuffers)
5[![Build status](https://ci.appveyor.com/api/projects/status/yg5idd2fnusv1n10?svg=true)](https://ci.appveyor.com/project/gwvo/flatbuffers)
6[![Join the chat at https://gitter.im/google/flatbuffers](https://badges.gitter.im/google/flatbuffers.svg)](https://gitter.im/google/flatbuffers?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
7[![Discord Chat](https://img.shields.io/discord/656202785926152206.svg)](https:///discord.gg/6qgKs3R)
8[![Twitter Follow](https://img.shields.io/twitter/follow/wvo.svg?style=social)](https://twitter.com/wvo)
9
10
11**FlatBuffers** 是一个高内存效率的跨平台序列化库。 它允许您直接访问序列化数据而无需先对其进行解析/解包,同时仍然具有出色的向前/向后兼容性。
12
13**转到我们的 [landing page][] 浏览我们的文档**
14
15## 支持的操作系统
16* Windows
17* MacOS X
18* Linux
19* Android
20* And any others with a recent C++ compiler.
21
22## 支持的编程语言
23* C++
24* C#
25* C
26* Dart
27* Go
28* Java
29* JavaScript
30* Lobster
31* Lua
32* PHP
33* Python
34* Rust
35* TypeScript
36
37*and more in progress...*
38## FlatBuffers使用步骤
391. 按照[教程](docs/source/Tutorial.md)编写fbs文件,生成C/C++的代码可以参考[C教程](docs/source/CppUsage.md)和[C++教程](docs/source/CUsage.md)。
402. 按照[教程](docs/source/Building.md)编译项目,并得到flactc工具。
413. 使用flatc工具生成接口代码。
424. 在鸿蒙中使用FlatBuffers
43## OpenHarmony如何集成FlatBuffers
441. 头文件引入
45```c++
46#include "flatbuffers/flatbuffers.h"
47```
482. BUILD.gn添加头文件的引用
49```gn
50include_dirs = [
51    "//third_party/flatbuffers/include"
52    ]
53```
543. 在代码中使用生成的接口代码序列化和反序列化数据。
55## 贡献
56* [FlatBuffers Google Group][] to discuss FlatBuffers with other developers and users.
57* [FlatBuffers Issues Tracker][] to submit an issue.
58* [stackoverflow.com][] with [`flatbuffers` tag][] for any questions regarding FlatBuffers.
59
60*To contribute to this project,* see [CONTRIBUTING][].
61
62## 许可
63*Flatbuffers* is licensed under the Apache License, Version 2.0. See [LICENSE][] for the full license text.
64
65<br>
66
67   [CONTRIBUTING]: http://github.com/google/flatbuffers/blob/master/CONTRIBUTING.md
68   [`flatbuffers` tag]: https://stackoverflow.com/questions/tagged/flatbuffers
69   [FlatBuffers Google Group]: https://groups.google.com/forum/#!forum/flatbuffers
70   [FlatBuffers Issues Tracker]: http://github.com/google/flatbuffers/issues
71   [stackoverflow.com]: http://stackoverflow.com/search?q=flatbuffers
72   [landing page]: https://google.github.io/flatbuffers
73   [LICENSE]: https://github.com/google/flatbuffers/blob/master/LICENSE.txt
74