MIRA
|
Used by BinarySerializer, defines the binary format in particular for class versioning information: 0 = version numbers are stored inline in binary data when version() is called; 1 = same as version 0, except that version 1 (as all following versions) explicitly stores version number at the beginning of serialized data; 2 = the positions in binary data are fixed where each object part stores its version number (or a placeholder if not versioned [yet]!). More...
#include <serialization/BinarySerializer.h>
Used by BinarySerializer, defines the binary format in particular for class versioning information: 0 = version numbers are stored inline in binary data when version() is called; 1 = same as version 0, except that version 1 (as all following versions) explicitly stores version number at the beginning of serialized data; 2 = the positions in binary data are fixed where each object part stores its version number (or a placeholder if not versioned [yet]!).
The general case is empty (not usable), currently implementations for versions 0, 1 and 2 are specialized.
While BinaryStream is the output stream type for the serializer, StreamType is the type of stream that is immediately written to (normally the same, but may differ with buffered stream access).