public static void WriteNullable<T>( T? value, BinaryWriter writer ) where T : struct, new()
Public Shared Sub WriteNullable(Of T As {Structure, New}) ( value As T?, writer As BinaryWriter )
public: generic<typename T> where T : value class, gcnew() static void WriteNullable( Nullable<T> value, BinaryWriter^ writer )
static member WriteNullable : value : Nullable<'T> * writer : BinaryWriter -> unit when 'T : struct, new()
A Boolean will be written before the object to indicate whether the value is . If it is , nothing else will be written.
Copyright © Sven Groot (Ookii.org) 2022