Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 2.64 KB

BinarySerializer.Read_T_(Stream,BinarySerializationContext).md

File metadata and controls

39 lines (24 loc) · 2.64 KB

BinarySerializer.Read(Stream, BinarySerializationContext) Method

Read an object of type T from the given stream.

public static T Read<T>(System.IO.Stream stream, DefaultEcs.Serialization.BinarySerializationContext 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 BinarySerializationContext

The BinarySerializationContext used to convert type during deserialization.

Returns

T
The object deserialized.

Exceptions

System.ArgumentNullException
stream is null.