Indy 9 | Content | Index | Reference

TIdDecoderXXE
Hierarchy, Properties, Methods, See Also, Unit: IdCoderXXE
Implements a decoder for data encoded using the XXEncode algorithm and the XXEncode alphabet.

    TIdDecoderXXE = class(TIdDecoderUUEBase)

Unit
IdCoderXXE
Description
TIdDecoderXXE is a TIdDecoderUUE descendant that implements a decoder for data encoded using the XXEncode algorithm. TIdDecoderXXE provides facilities for decoding the 7-bit US-ASCII representation of encoded data into it's original binary format. TIdDecoderXXE also specifies the decoding table for the XXEncode alpahabet in GUUEDecodeTable, and the default FillChar '~'.

TIdDecoderXXE uses the 4-byte to 3-byte decoding algorithm defined in TIdDecoderUUE. TIdDecoderXXEBase handles the XXEncode body line format by using the inherited Decode method, which consists of the encoded length followed by the encoded data.

TIdDecoderXXE is used by other Indy coder classes, such as TIdMessageDecoderXXE, that handle XXEncode message streams in RFC 822-compliant mail messages.

TIdDecoderXXE.Create
TIdDecoderXXE, See Also
Constructor for the object instance.

    constructor Create(AOwner: TComponent); override;

Parameters
AOwner: TComponent
Owner of the object instance.
Description
Create is the Constructor for the object instance, and relies on the inherited Create method to initialize object properties to their default values. Create also assigns the XXEncode alphabet, contained in GXXEDecodeTable, to the decoding table for the instance, and sets the default FillChar to "~" (Decimal 126).

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.