MIRA
|
Serializer that uses BinaryOstream to serialize the objects in binary format. More...
#include <serialization/BinarySerializer.h>
Serializer that uses BinaryOstream to serialize the objects in binary format.
It can be used for streaming data to tapes, for streaming data using TCP, or for serializing the data into a binary buffer. Depending on the used binary stream, properties like network byte order can be specified via the binary stream object.
Since this serializer operates on a BinaryOstream, it comes in two flavors:
This serializer has a special serialize() method that supports storing type information for better type safety.
Example usage for BinaryBufferSerializer:
Example usage for BinaryStreamSerializer:
For the deserialization of binary content see BinaryDeserializer.