[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_XMLRead' (#lazutils)

TGetDecoderProc

Function type used to get a decoder routine for the specified target encoding.

Declaration

Source position: laz2_xmlread.pas line 154

type TGetDecoderProc = function(

  const AEncoding: string;

  out Decoder: TDecoder

):Boolean;

Arguments

AEncoding

  

Encoding name for the converted values from the decoder routine.

Decoder

  

Returns a record with the decode and clean-up routines for a given context.

Function result

True if a decoder routine is found for the specified target encoding.

Description

TGetDecoderProc is a Boolean function type used to get the Decoder routine used to convert value in an arbitrary encoding to the encoding specified in AEncoding.

TGetDecoderProc is the type passed as an argument to the RegisterDecoder routine.

See also

RegisterDecoder

  

Registers the procedure used to decode values in a specific encoding.


Version 3.2 Generated 2024-02-25 Home