Read an object of type T from the given stream.
public static T Read<T>(System.IO.Stream stream);
T
The type of the object deserialized.
stream
System.IO.Stream
The System.IO.Stream instance from which the object is to be deserialized.
T
The object deserialized.
System.ArgumentNullException
stream is null.