Binary serialization

From Code Synthesis Wiki

Revision as of 10:00, 14 February 2011; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

The C++/Tree Mapping User Manual has a section about binary serialization.

Contents

Predefined binary formats

CDR (Common Data Representation)

The ADAPTIVE Communication Environment (ACE) provides a binary format. The extraction and insertion classes are described in the doxygen generated documentation.

There is an example of using CDR in examples/cxx/tree/binary/cdr

XDR (eXternal Data Representation)

Wikipedia entry

There is an example of using XDR in examples/cxx/tree/binary/xdr

Custom binary formats

Boost serialization library

The Boost C++ libraries provides a serialization library.

There is an example of using Boost serialization in examples/cxx/tree/binary/boost

QDataStream

Personal tools