Internet Direct (Indy) Version 9.0.1 Beta
TIdEncoderUUEBase.Encode
Implements the UUEncode encoding algorithm with support for body line formatting.

function Encode(ASrcStream: TStream; const ABytes: integer): string; override;
Parameters
ASrcStream: TStream
Stream containing values to UUEncoded.

const ABytes: integer = MaxInt
Number of bytes to be affected by the UUEncode algorithm.

Returns
String - UUEncode length byte and data from the encoding algorithm.

Description
Encode is a overridden String function in TIdEncoderUUEBase that implements creation of UUEncoded result values that include the encoded length and content in the UUEncode body line format. Encode calls the inherited Encode method.