An implementation of BinaryFormatter that uses BinaryFormatter (for classes annotated with SerializableAttribute).
Implements
Namespace: Metalama.Patterns.Caching.Serializers
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
[Obsolete("The BinaryFormatter facility is considered obsolete.")]
public sealed class BinaryCachingSerializer : ICachingSerializer
Constructors
Name | Description |
---|---|
BinaryCachingSerializer() |
Methods
Name | Description |
---|---|
Deserialize(BinaryReader) | Deserializes a byte array into an object. |
Serialize(object?, BinaryWriter) | Serializes an object into a byte array. |