Click or drag to resize

ValueWriterReadNullableStructT Method

Reads a nullable structure value from the specified reader using the type's IValueWriterT.

Namespace: Ookii.Jumbo.IO
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public static T? ReadNullableStruct<T>(
	BinaryReader reader
)
where T : struct, new()

Parameters

reader  BinaryReader
The reader to read the value from.

Type Parameters

T
The type of the object to read.

Return Value

NullableT
An object containing the value.
Remarks

A Boolean is read from reader to see if the value is . If it is , nothing else will be read.

See Also