Summary

GetReadMode function should be overridden by the user to specify the read-mode of the custom converter.

Syntax

function GetReadMode: TReadMode; virtual; abstract;

Return Value

Type: TReadMode

Returns converter read mode.

Remarks

Unlike most built-in type handlers, custom converters is able to work in a single read-mode only. If this converter use fill-read mode then it should treat var V parameter of NG.Serialization.TConverter.Read(TDeserializer,Void Type) method as a constant value; the method should not change the value itself. For discussion of fill-read mode look at NG.Serialization.FillReadAttribute description.