 | SerializationUtilsFromMemoryStreamT Method |
Deserializes an object of the specified type from the specified memory stream.
Namespace: Slash.Serialization.UtilsAssembly: Slash.Serialization (in Slash.Serialization.dll) Version: 1.0.6018.40176
Syntaxpublic static T FromMemoryStream<T>(
MemoryStream memoryStream
)
Public Shared Function FromMemoryStream(Of T) (
memoryStream As MemoryStream
) As T
public:
generic<typename T>
static T FromMemoryStream(
MemoryStream^ memoryStream
)
static member FromMemoryStream :
memoryStream : MemoryStream -> 'T
Parameters
- memoryStream
- Type: System.IOMemoryStream
Memory stream to get the object from.
Type Parameters
- T
- Expected type in memory stream.
Return Value
Type:
T Deserialized object.
See Also