MessagePackSerializerTUnpackNil Method |
Namespace: MsgPack.Serialization
This method is invoked from UnpackFrom(Unpacker) method when the current LastReadData is nil.
The implementation of this class returns null for nullable types (that is, all reference types and NullableT); otherwise, throws SerializationException.
Custom serializers can override this method to provide custom nil representation. For example, built-in DBNull serializer overrides this method to return Value instead of null.