TextSerializer.Read_T_(Stream).md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.Serialization.TextSerializer

TextSerializer.Read(Stream) Method

Read an object of type T from the given stream.

public static T Read<T>(System.IO.Stream stream);

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.

Returns

T
The object deserialized.

Exceptions

System.ArgumentNullException
stream is null.