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 how to serialize a simple struct.
- 2 in 1 how to write one control flow for both, serialization and deserialization.
- Composer how to make your type serializable by default or override default flow.
- Squeeze Me! how to compress your data if you know what it stores.
- Anything is Possible how to extend library for your custom container, compress geometry and more.
- Little or Big how to 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.