Deserialize(Type, Stream)
public object Deserialize(Type expectedType, Stream input) Deserializes an object of the specified expected type from the provided stream.
Parameters
expectedTypeType- The expected type.
inputStream- The input stream.
Returns
The deserialized object.
