SlimSerializer ClassNFX Class Library

[This is preliminary documentation and is subject to change.]

Implements Slim serialization algorithm that relies on an injectable SlimFormat-derivative (through .ctor) paremeter. This class was designed for highly-efficient serialization of types without versioning. SlimSerializer supports a concept of "known types" that save space by not emitting their names into stream. Performance note: This serializer yields on average 1/4 serialization and 1/2 deserialization times while compared to BinaryFormatter. Serialization of Record-instances usually takes 1/6 of BinaryFormatter time. Format takes 1/10 space for records and 1/2 for general object graphs. Such performance is achieved because of dynamic compilation of type-specific serialization/deserialization methods. This type is thread-safe for serializations/deserializations when TypeMode is set to "PerCall"
Inheritance Hierarchy

OnlineSystem Object
  NFX.Serialization.Slim SlimSerializer

Namespace: NFX.Serialization.Slim
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

[SlimSerializationProhibitedAttribute]
public class SlimSerializer : ISlimSerializer, 
	ISerializer
See Also