Class BinarySerializer

Inheritance Relationships

Base Type

Class Documentation

class BinarySerializer : public portal::Serializer

Concrete binary serialization implementation using a compact stream format.

BinarySerializer writes data sequentially to an std::ostream in a custom binary format optimized for compactness and speed.

Public Functions

explicit BinarySerializer(std::ostream &output)
BinarySerializer(std::ostream &output, BinarySerializationParams params)

Protected Functions

virtual void add_property(reflection::Property property) override