Internet Direct (Indy)
Home
PreviousUpNext
TIdDecoder.DecodeString Method

Provides access to the decoded values for a String data type.

Pascal
function DecodeString(
    const aIn: string
): string;
Parameters 
Description 
aIn 
Value to be decoded. 

String - Decoded value of the input parameter.

DecodeString is a String function that provides access to the decoded values for the String specified in AIn. 

DecodeString create a temporary TIdMemoryStream instance used to accumulate the decoded values for the string in AIn and calls the DecodeBegin, Decode, and DecodeEnd methods to perform the operation. Values in the temporary TIdMemoryStream instance are read into the return value for the method using ReadStringFromStream

Use the EncodeString function or the Encode method in TIdEncoder to generate the encoded values used in DecodeString.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.