Click or drag to resize

ValueWriterWriteValueT Method

Writes the specified value using its IWritable implementation or its IValueWriterT.

Namespace: Ookii.Jumbo.IO
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public static void WriteValue<T>(
	T value,
	BinaryWriter writer
)

Parameters

value  T
The value to write.
writer  BinaryWriter
The writer to write the value to.

Type Parameters

T
The type of the object whose IWritable or IValueWriterT implementation to use.
Remarks

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.

See Also