public static void WriteValue<T>( T value, BinaryWriter writer )
Public Shared Sub WriteValue(Of T) ( value As T, writer As BinaryWriter )
public: generic<typename T> static void WriteValue( T value, BinaryWriter^ writer )
static member WriteValue : value : 'T * writer : BinaryWriter -> unit
If the type of value implements IWritable, it is used to write the value. If it does not, the IValueWriterT is used to write the value.
Copyright © Sven Groot (Ookii.org) 2022