BinarySerializer Class |
An implementation of BinaryFormatter that uses BinaryFormatter
(for classes annotated with SerializableAttribute).
Namespace: PostSharp.Patterns.Caching.Serializers
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class BinarySerializer : ISerializer
The BinarySerializer type exposes the following members.
Name | Description | |
---|---|---|
BinarySerializer | Initializes a new instance of the BinarySerializer class |
Name | Description | |
---|---|---|
Deserialize |
Deserializes a byte array into an object.
| |
Serialize |
Serializes an object into a byte array.
|