SpaceDataStandards.org
  • Overview
  • Legacy Space Data Formats
  • CCSDS Data Standards
  • CCSDS Text Standards
  • SpaceDataStandards.Org
  • SpaceDataStandards.org (cont.)
  • Serialization
  • Space Data Server
  • The Future
Powered by GitBook
On this page

Serialization

PreviousSpaceDataStandards.org (cont.)NextSpace Data Server

Last updated 2 years ago

The code generated by SpaceDataStandards.org can be used with any serialization format supported in major programming languages. In addition, it natively supports a efficient binary serialization format called , which was created at Google and open-sourced in 2014.

Flatbuffers have the following advantages over other serialization methods:

  • Access to serialized data without upfront processing (packing/unpacking)

  • Memory efficiency and speed - only memory required to access data is that of the buffer; 0 additional memory required.

  • Flexibility - forwards and backwards compatibility via optional fields

  • Strongly Typed - errors caught at compile-time instead of run-time

  • Convenience - Terse code via generated C++ headers. Optional functionality to parse schemas and JSON-like representations at runtime efficiently if needed (faster and more memory efficient than other JSON parsers)

  • Cross-Platform

More information is available .

Flatbuffers
Tiny Code footprint
here