Namespace: Assorted.Utils.Serialization
Assembly: Assorted.Utils (Assorted.Utils.dll) version 1.1.0.0
Implements: ISerializer
Inheritance: object→
BinarySerializer
Serializes and deserializes objects into and from binary/base-64 format.
public class BinarySerializer : ISerializer
Constructor | Description |
---|---|
BinarySerializer() | Initializes a new instance of BinarySerializer class. |
Method | Description |
---|---|
Deserialize<T>(Stream) | Deserializes the binary data contained by the specified System.IO.Stream . |
Deserialize<T>(string) | Converts the binary representation of an object, provided in base-64 format, to an instance of that object. |
GetInternalSerializer<T>() | Creates an instance of System.Runtime.Serialization.Formatters.Binary.BinaryFormatter class. |
Serialize<T>(T) | Converts an object to its binary representation in base-64 format. |
Serialize<T>(T, Stream) | Serializes a given object and writes the binary data into the specified System.IO.Stream . |
Any public member of this type, either static or instance, is thread-safe.
This document is generated by DG.