mirror of
https://github.com/fraillt/bitsery.git
synced 2026-06-08 08:13:56 +00:00
1.1 KiB
1.1 KiB
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.