Added quickstart page

This commit is contained in:
Randolph Voorhies
2013-07-06 17:22:05 -07:00
parent cf940c0af8
commit df875c0b60
4 changed files with 192 additions and 7 deletions
@@ -41,12 +41,17 @@ Although detailed at length [elsewhere](polymorphism.html), if you will be seria
---
<a name="binary_archive"></a>
## Binary Data
The binary archive can be used by including `<cereal/archives/binary.hpp>`. The binary archive is designed to produce compact bit level representations of data and is not human readable. It is a good choice when computers will be looking at the data on both ends of the serialization. The binary archive is also the fastest archive that comes with cereal. Binary archives will ignore name-value pairs and only serialize the values.
---
<a name="xml_archive"></a>
## XML
The XML archive can be used by including `<cereal/archives/xml.hpp>`. XML is a human readable format and should not be used in situations where serialized data size is critical. Unlike the binary archive, which outputs its data incrementally as serialization functions are called, the XML archive builds a tree in memory and only outputs it upon destruction of the archive.
@@ -88,6 +93,8 @@ XML can optionally output complete demangled type information as an attribute an
---
<a name="json_archive"></a>
## JSON
The JSON archive can be used by including `<cereal/archives/json.hpp>`. JSON is a human readable format and should not be used in situations where serialized data size is critical.