Serializer.this

Creates a new serializer using the given archive.

The archive is the backend of the (de)serialization process, it performs the low level (de)serialization of primitive values and it decides the final format of the serialized data.

class Serializer
this

Parameters

archive Archive

the archive that should be used for this serializer

Examples

auto archive = new XmlArchive!();
auto serializer = new Serializer(archive);

Meta