Binary serialization

From Code Synthesis Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 09:15, 14 February 2011
Erik Sjölund (Talk | contribs)
(adding sections)
← Previous diff
Revision as of 09:43, 14 February 2011
Erik Sjölund (Talk | contribs)

Next diff →
Line 1: Line 1:
-Binary serialization+The [http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/manual/ C++/Tree Mapping User Manual] has a section about binary serialization.
= Predefined binary formats = = Predefined binary formats =
== CDR (Common Data Representation) == == CDR (Common Data Representation) ==
 +
 +[http://www.cs.wustl.edu/~schmidt/ACE.html The ADAPTIVE Communication Environment (ACE)] provides a binary format. The extraction and insertion classes are described in the doxygen generated documentation.
 +* [http://www.dre.vanderbilt.edu/Doxygen/6.0.1/html/libace-doc/a00380.html ACE_OutputCDR Class Reference]
 +* [http://www.dre.vanderbilt.edu/Doxygen/6.0.1/html/libace-doc/a00240.html ACE_InputCDR Class Reference]
 +
 +There is an example of using CDR in
 +[http://scm.codesynthesis.com/?p=xsd/xsd.git;a=tree;f=examples/cxx/tree/binary/cdr;hb=HEAD examples/cxx/tree/binary/cdr]
 +
== XDR (eXternal Data Representation) == == XDR (eXternal Data Representation) ==
 +
 +[http://en.wikipedia.org/wiki/External_Data_Representation Description on Wikipedia]
= Custom binary formats = = Custom binary formats =

Revision as of 09:43, 14 February 2011

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)

Description on Wikipedia

Custom binary formats

Boost serialization library

QDataStream

Personal tools