Files
bitsery/doc/tutorial
2017-09-01 16:23:52 +03:00
..
2017-08-24 14:58:27 +03:00
2017-08-24 14:58:27 +03:00
2017-09-01 16:23:52 +03:00
2017-08-28 09:59:03 +03:00

The grand plan for this tutorial is to learn how to serialize/deserialize any object efficiently in time and space, so you could focus on other, more interesting things.

This tutorial will cover these main topics:

  • Hello World serialize a simple struct.
  • 2 in 1 write one control flow for both: serialization and deserialization.
  • Composer efficiently compose complex serialization flows.
  • Squeeze Me! compress your data when you know what it stores.
  • Anything is Possible extend library for custom container, compress geometry and more.
  • Little or Big change endianness if you want best performance on PowerPC.

In order to successfully use the library you need c++14 compatible compiler. In theory you could also use c++11 compatible compiler, but c++14 generic lambdas really change the way you can work with this library, so all tutorial sections will asume that you use c++14 compatible compiler.

So without further ado lets start with hello world.