Sign in Join
FPDoc Onlineexperiment

TGetDecoderProc procedure type

In unit Laz2_XMLRead

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

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.