BinaryConvertConversionFunction Method |
Namespace: Demo3D.IO
public static Func<Object, BinaryConvertConversionType, Object>? ConversionFunction( Type sourceType, Type destinationType )
BinaryConvert will attempt any conversion, including conversions that lose data (eg unsigned to signed int, or int to bool).
The function returned will return null if the conversion can't be performed.