Click or drag to resize

ValueWriterWriteNullableT(NullableT, BinaryWriter) Method

Writes the specified nullable structure using its IValueWriterT.

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

Parameters

value  NullableT
The nullable value to write.
writer  BinaryWriter
The writer to write the value to.

Type Parameters

T
The type of the object to write.
Remarks

A Boolean will be written before the object to indicate whether the value is . If it is , nothing else will be written.

See Also