Internet Direct (Indy) Version 9.0.1 Beta
TIdDecoder.DecodeToString
Returns a decoded String value.

function DecodeToString(const AIn: string): string;
Parameters
const AIn: string
Value to be decoded.

Returns
String - Decoded value of the input parameter.

Description
DecodeToString is a String function that performs decoding of the value in AIn, and returns the result as a String. In its implementation, DecodeToString calls DecodeToStream with a TStringStream created to receive the decoded value.

Applications should use DecodeToStream when a Stream-based destination is needed for the decoded value.

DecodeToString is called by the class function DecodeString to perform decoding operations when no application instance of TIdDecoder is needed.