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);
T
The type of the object serialized.
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.
System.ArgumentNullException
stream is null.