DataSerializer DeserialiseDataObject T  Method (MemoryStream, List DataProcessor , Dictionary String, String )NetworkComms.Net Help
Converts a memory stream containing bytes previously serialized and processed using data processors to an object of provided type

Namespace: NetworkCommsDotNet.DPSBase
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public T DeserialiseDataObject<T>(
	MemoryStream receivedObjectStream,
	List<DataProcessor> dataProcessors,
	Dictionary<string, string> options
)

Parameters

receivedObjectStream
Type: OnlineSystem.IO MemoryStream
Byte array containing serialized and compressed object
dataProcessors
Type: OnlineSystem.Collections.Generic List DataProcessor 
Data processors to apply to serialised data. These will be run in reverse order i.e. high index to low
options
Type: OnlineSystem.Collections.Generic Dictionary OnlineString, OnlineString 
Options dictionary for serialisation/data processing
Type Parameters

T
Type of object to deserialize to

Return Value

Type: T
The deserialized object
See Also