MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​SerializersBinary­Caching­Serializer
Open sandboxFocus

BinaryCachingSerializer Class

An implementation of BinaryFormatter that uses BinaryFormatter (for classes annotated with System.SerializableAttribute).

Inheritance
System.Object
BinaryCachingSerializer
Implements
ICachingSerializer
Namespace: Metalama.Patterns.Caching.Serializers
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public sealed class BinaryCachingSerializer : Object, ICachingSerializer

Constructors

Name Description
BinaryCachingSerializer()

Methods

Name Description
Deserialize(Byte[])

Deserializes a byte array into an object.

Serialize(Object)

Serializes an object into a byte array.