PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Serializers Namespace / ISerializer Interface

ISerializer Interface

Serializes an object into a byte array and deserializes the byte array back.

Namespace:  PostSharp.Patterns.Caching.Serializers
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public interface ISerializer

The ISerializer type exposes the following members.

Methods
  NameDescription
Public methodDeserialize
Deserializes a byte array into an object.
Public methodSerialize
Serializes an object into a byte array.
See Also