Files
simple-rust-tests/__serialization/flatbuffers/README.md
2020-10-17 12:01:53 +08:00

42 lines
551 B
Markdown

# Install `flatc`
## Install `cmake`
https://cmake.org/install/
## Get `flatbuffers`
```shell
% git clone https://github.com/google/flatbuffers.git
```
## Make
```shell
% cmake -G "Unix Makefiles"
% make
% make install
```
```shell
% flatc --version
```
# Compile `fbs`
```shell
% flatc --rust file.fbs
```
----
FlatBuffers Binary Format
* https://qiita.com/termoshtt/items/c337cd67e678bac2c795#flatbuffers-binary-format
* https://github.com/dvidelabs/flatcc/blob/master/doc/binary-format.md
* https://halfrost.com/flatbuffers_encode/