Sane C++ Libraries
C++ Platform Abstraction Libraries
Serialization Binary

🟨 Serialize to and from a binary format using Reflection (see Serialization Binary for more details) More...

Classes

struct  SC::SerializationBinary
 Loads or writes binary data with its associated reflection schema from or into a C++ object. More...
 
struct  SC::SerializationBinaryOptions
 Conversion options for the binary versioned deserializer. More...
 

Detailed Description

🟨 Serialize to and from a binary format using Reflection (see Serialization Binary for more details)

This is a versioned binary serializer / deserializer built on top of Reflection.
It uses struct member iterators on Reflection schema serialize all members and the recursively Packed property for optimizations, reducing the number of read / writes (or memcpy) needed.