Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 2.75 KB

TextSerializer.Write_T_(Stream,T,TextSerializationContext).md

File metadata and controls

41 lines (24 loc) · 2.75 KB

TextSerializer.Write(Stream, T, TextSerializationContext) Method

Writes an object of type T on the given stream.

public static void Write<T>(System.IO.Stream stream, in T value, DefaultEcs.Serialization.TextSerializationContext context);

Type parameters

T

The type of the object serialized.

Parameters

stream System.IO.Stream

The System.IO.Stream instance on which the object is to be serialized.

value T

The object to serialize.

context TextSerializationContext

The TextSerializationContext used to convert type during serialization.

Exceptions

System.ArgumentNullException
stream is null.