Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 2.57 KB

TextSerializer.Read_T_(Stream,TextSerializationContext).md

File metadata and controls

39 lines (24 loc) · 2.57 KB

TextSerializer.Read(Stream, TextSerializationContext) Method

Read an object of type T from the given stream.

public static T Read<T>(System.IO.Stream stream, DefaultEcs.Serialization.TextSerializationContext context);

Type parameters

T

The type of the object deserialized.

Parameters

stream System.IO.Stream

The System.IO.Stream instance from which the object is to be deserialized.

context TextSerializationContext

The TextSerializationContext used to convert type during deserialization.

Returns

T
The object deserialized.

Exceptions

System.ArgumentNullException
stream is null.