Internet Direct (Indy) Version 9.0.1 Beta
TIdDecoderUUE.DecodeToStream
Converts a UUEncoded body line to it's original binary format.

procedure DecodeToStream(AIn: string; ADest: TStream); override;
Parameters
AIn: string
Values to decoded.

ADest: TStream
Destination for decoded values.

Description
DecodeToStream is an overridden Procedure in TIdDecoderUUE that re-implements the inherited method to provide support for reading the UUEncode body line format, as well as the specifics of the UUDecode algorithm using the modified UUEncode alphabet.

AIn contains the UUEncoded input values that will be restored to their original binary format.

ADest is a TStream descendant that will receive the results of the decoding algorithm.

DecodeToStream modifies all AIn by replacing all instances of the SPace character (Decimal 32) in the encoded values with the '`' character (Decimal 96) to support older versions of UUEncode which used the space character in the UUEncode alphabet. DecodeToStream calls the inherited DecodeToStream method using the modified AIn value to perform the UUDecode algorithm.