Class BinarySerializer
Serializes and deserializes an object, or an entire graph of connected objects, in binary format.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: IRM.Messaging
Assembly: IRM.dll
Syntax
public class BinarySerializer : ISerialize
Methods
Deserialize<T>(Stream)
De-serializes an object from a System.IO.Stream.
Declaration
public T Deserialize<T>(Stream input)
Parameters
System.IO.Stream
input
The stream with the serialized object. |
Returns
T
The de-serialized object. |
Type Parameters
T
The type of object to de-serialize. |
Implements
Serialize<T>(Stream, T)
Serializes an object to a System.IO.Stream.
Declaration
public void Serialize<T>(Stream output, T graph)
Parameters
System.IO.Stream
output
The stream to serialize the object to. |
T
graph
The object to serialize. |
Type Parameters
T
The type of object to serialize. |