DataSerializer DeserialiseDataObject T  Method (MemoryStream)NetworkComms.Net Help
Converts a memory stream containing bytes previously serialized to an object of provided type. Assumes no data processors.

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

public T DeserialiseDataObject<T>(
	MemoryStream receivedObjectStream
)

Parameters

receivedObjectStream
Type: OnlineSystem.IO MemoryStream
Byte array containing serialized and compressed object
Type Parameters

T
Type of object to deserialize to

Return Value

Type: T
The deserialized object
See Also