![]() |
CppSerdes
1.0
A serialization/deserialization library designed with embedded systems in mind
|
This example demonstrates how to serialize/deserialize data atomicallyNOTE: Serialization/Deserialization will work out-of-the-box on any wrapper class with a 'T load() const' and 'void store(T)' method, not just "std::atomic" but also any custom classes. The load()/store() methods will be automatically detected and called appropriately. This means that #include "serdes.h" does not also pull in #include <atomic> or any other compatible types even though they are still supported - you'll only get what you use.