Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 2.23 KB

Assorted.Utils.Serialization.BinarySerializer.md

File metadata and controls

42 lines (28 loc) · 2.23 KB

BinarySerializer Class

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.

Syntax

public class BinarySerializer : ISerializer

Constructors

Constructor Description
BinarySerializer() Initializes a new instance of BinarySerializer class.

Methods

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.

Thread Safety

Any public member of this type, either static or instance, is thread-safe.

See Also


This document is generated by DG.