encyclopegia.org

FlatBuffers

FlatBuffers is a free software library implementing a serialization format similar to Protocol Buffers, Thrift, Apache Avro, SBE, and Cap'n Proto, primarily written by Wouter van Oortmerssen and open-sourced by Google. It supports “zero-copy” deserialization, so that accessing the serialized data does not require first copying it into a separate part of memory. This makes accessing data in these formats much faster than data in formats requiring more extensive processing, such as JSON, CSV, and in many cases Protocol Buffers. Compared to other serialization formats however, the handling of FlatBuffers usually requires more code, and some operations are not possible (like some mutation operations). The serialized format allows random access to specific data elements (e.g. individual string or integer properties) without parsing all data. Unlike Protocol Buffers, which uses variable-length integers, FlatBuffers encodes integers in their native size, which favors performance but leads to longer encoded representations. FlatBuffers can be used in software written in C++, C#, C, Go, Java, JavaScript, Kotlin, Lobster, Lua, PHP, Python, Rust, Swift, and TypeScript.…

FlatBuffers is a free software library implementing a serialization format similar to Protocol Buffers, Thrift, Apache Avro, SBE, and Cap'n Proto, primarily written by Wouter van Oortmerssen and open-sourced by Google. It supports “zero-copy” deserialization, so that accessing the serialized data does not require first copying it into a separate part of memory. This makes accessing data in these formats much faster than data in formats requiring more extensive processing, such as JSON, CSV, and in many cases Protocol Buffers. Compared to other serialization formats however, the handling of FlatBuffers usually requires more code, and some operations are not possible (like some mutation operations). The serialized format allows random access to specific data elements (e.g. individual string or integer properties) without parsing all data. Unlike Protocol Buffers, which uses variable-length integers, FlatBuffers encodes integers in their native size, which favors performance but leads to longer encoded representations. FlatBuffers can be used in software written in C++, C#, C, Go, Java, JavaScript, Kotlin, Lobster, Lua, PHP, Python, Rust, Swift, and TypeScript. The schema compiler runs on Android, Microsoft Windows, macOS, and Linux, but games and other programs use FlatBuffers for serialization work on many other operating systems as well, including iOS, Amazon's Fire OS, and Windows Phone. Van Oortmerssen originally developed FlatBuffers for game development and similar applications. Although FlatBuffers has its own interface definition language to define the data to be serialized with it, it also supports schemas defined in the Protocol Buffers .proto format. ==See also== Comparison of data serialization formats

References

  1. FlatBuffers Internals · retrieved 2026-11-17 · rev 1378051565
    Cite this reference

    MLA "FlatBuffers Internals." 2026-11-17. https://flatbuffers.dev/internals/. Accessed 24 November 2026.

    Chicago "FlatBuffers Internals." 2026-11-17. https://flatbuffers.dev/internals/.

    APA encyclopegia.org. (2026). FlatBuffers Internals. Retrieved November 24, 2026, from https://flatbuffers.dev/internals/

  2. FlatBuffers for Unity · retrieved 2017-06-14 · rev 1378051565
    Cite this reference

    MLA "FlatBuffers for Unity." 2017-06-14. http://exiin.com/blog/flatbuffers-for-unity-sample-code/. Accessed 24 November 2026.

    Chicago "FlatBuffers for Unity." 2017-06-14. http://exiin.com/blog/flatbuffers-for-unity-sample-code/.

    APA encyclopegia.org. (2017). FlatBuffers for Unity. Retrieved November 24, 2026, from http://exiin.com/blog/flatbuffers-for-unity-sample-code/

  3. FlatBuffers Documentation · retrieved 2017-06-20 · rev 1378051565
    Cite this reference

    MLA "FlatBuffers Documentation." 2017-06-20. https://google.github.io/flatbuffers/. Accessed 24 November 2026.

    Chicago "FlatBuffers Documentation." 2017-06-20. https://google.github.io/flatbuffers/.

    APA encyclopegia.org. (2017). FlatBuffers Documentation. Retrieved November 24, 2026, from https://google.github.io/flatbuffers/

  4. Cap'n Proto, FlatBuffers, and SBE · retrieved 2017-06-14 · rev 1378051565
    Cite this reference

    MLA "Cap'n Proto, FlatBuffers, and SBE." Kenton Varda (2014-06-17). 2017-06-14. https://capnproto.org/news/2014-06-17-capnproto-flatbuffers-sbe.html. Accessed 24 November 2026.

    Chicago "Cap'n Proto, FlatBuffers, and SBE." Kenton Varda (2014-06-17). 2017-06-14. https://capnproto.org/news/2014-06-17-capnproto-flatbuffers-sbe.html.

    APA Kenton Varda (2014-06-17). (2017). Cap'n Proto, FlatBuffers, and SBE. Retrieved November 24, 2026, from https://capnproto.org/news/2014-06-17-capnproto-flatbuffers-sbe.html

  5. Cocos2d-x: Flatbuffers Namespace Reference · retrieved 2026-11-17 · rev 1378051565
    Cite this reference

    MLA "Cocos2d-x: Flatbuffers Namespace Reference." 2026-11-17. http://www.cocos2d-x.org/reference/native-cpp/V3.5/d7/d2d/namespaceflatbuffers.html. Accessed 24 November 2026.

    Chicago "Cocos2d-x: Flatbuffers Namespace Reference." 2026-11-17. http://www.cocos2d-x.org/reference/native-cpp/V3.5/d7/d2d/namespaceflatbuffers.html.

    APA encyclopegia.org. (2026). Cocos2d-x: Flatbuffers Namespace Reference. Retrieved November 24, 2026, from http://www.cocos2d-x.org/reference/native-cpp/V3.5/d7/d2d/namespaceflatbuffers.html

  6. Improving Facebook's performance on Android with FlatBuffers · retrieved 2017-06-14 · rev 1378051565
    Cite this reference

    MLA "Improving Facebook's performance on Android with FlatBuffers." George Xie (2015-07-31). 2017-06-14. https://code.facebook.com/posts/872547912839369/improving-facebook-s-performance-on-android-with-flatbuffers/. Accessed 24 November 2026.

    Chicago "Improving Facebook's performance on Android with FlatBuffers." George Xie (2015-07-31). 2017-06-14. https://code.facebook.com/posts/872547912839369/improving-facebook-s-performance-on-android-with-flatbuffers/.

    APA George Xie (2015-07-31). (2017). Improving Facebook's performance on Android with FlatBuffers. Retrieved November 24, 2026, from https://code.facebook.com/posts/872547912839369/improving-facebook-s-performance-on-android-with-flatbuffers/

  7. FlatBuffers: A Memory-Efficient Serialization Library · retrieved 2017-06-14 · rev 1378051565
    Cite this reference

    MLA "FlatBuffers: A Memory-Efficient Serialization Library." a b Wouter van Oortmerssen (2014-06-17). 2017-06-14. https://android-developers.googleblog.com/2014/06/flatbuffers-memory-efficient.html. Accessed 24 November 2026.

    Chicago "FlatBuffers: A Memory-Efficient Serialization Library." a b Wouter van Oortmerssen (2014-06-17). 2017-06-14. https://android-developers.googleblog.com/2014/06/flatbuffers-memory-efficient.html.

    APA a b Wouter van Oortmerssen (2014-06-17). (2017). FlatBuffers: A Memory-Efficient Serialization Library. Retrieved November 24, 2026, from https://android-developers.googleblog.com/2014/06/flatbuffers-memory-efficient.html

  8. GitHub — google/flatbuffers: Memory Efficient Serialization Library · retrieved 2020-12-09 · rev 1378051565
    Cite this reference

    MLA "GitHub — google/flatbuffers: Memory Efficient Serialization Library." 2020-12-09. https://github.com/google/flatbuffers. Accessed 24 November 2026.

    Chicago "GitHub — google/flatbuffers: Memory Efficient Serialization Library." 2020-12-09. https://github.com/google/flatbuffers.

    APA encyclopegia.org. (2020). GitHub — google/flatbuffers: Memory Efficient Serialization Library. Retrieved November 24, 2026, from https://github.com/google/flatbuffers

  9. Release 25.12.19 · retrieved 2026-11-17 · rev 1378051565
    Cite this reference

    MLA "Release 25.12.19." "Release 25. 2026-11-17. https://github.com/google/flatbuffers/releases/tag/v25.12.19. Accessed 24 November 2026.

    Chicago "Release 25.12.19." "Release 25. 2026-11-17. https://github.com/google/flatbuffers/releases/tag/v25.12.19.

    APA "Release 25. (2026). Release 25.12.19. Retrieved November 24, 2026, from https://github.com/google/flatbuffers/releases/tag/v25.12.19

Cite this article

MLA

"FlatBuffers." encyclopegia.org, 2026, https://encyclopegia.org/wiki/flatbuffers. Accessed 24 November 2026.

Chicago

"FlatBuffers." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/flatbuffers.

APA

encyclopegia.org. (2026). FlatBuffers. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/flatbuffers

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1378051565 · 0.5 · snapshot enwiki-001378051565

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.