Read an object of type T from the given stream.
public static T Read<T>(System.IO.Stream stream, DefaultEcs.Serialization.BinarySerializationContext context);
T
The type of the object deserialized.
stream
System.IO.Stream
The System.IO.Stream instance from which the object is to be deserialized.
context
BinarySerializationContext
The BinarySerializationContext used to convert type during deserialization.
T
The object deserialized.
System.ArgumentNullException
stream is null.