{"repo":"google/flatbuffers","free":true,"listed":false,"github":"https://github.com/google/flatbuffers","clone":"git clone https://github.com/google/flatbuffers.git","description":"FlatBuffers: Memory Efficient Serialization Library","language":"C++","stars":26332,"topics":["flatbuffers","serialization","serialization-library","json-parser","marshalling","rpc","zero-copy","mmap","cross-platform","c-plus-plus"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"FlatBuffers =========== 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. Quick Start 1. Build the compiler for flatbuffers ( flatc ) Use cmake to create the build files for your platform and then perform the compilation (Linux example). 2. Define your flatbuffer schema ( .fbs ) Write the schema to define the data you want to serialize. See monster.fbs for an example. 3. Generate code for your language(s) Use the flatc compiler to take your schema and generate language-specific code: Which generates monster generated.h and monster generated.rs files. 4. Serialize data Use the generated code, as well as the FlatBufferBuilder to construct your serialized buffer. ( C++ example) 5. Transmit/store/save Buffer Use your serialized buffer however you want. Send it to someone, save it for later, etc... 6. Read the data Use the generated accessors to read the data from the serialized buffer. 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 reading the data written by C++ . Documentation 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 langu","default_branch":null,"files":null,"tree":[],"storefront":"/r/google","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/google/flatbuffers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}