Topic Path: Symbol Reference > Classes > TIdDecoder Class > TIdDecoder Methods > DecodeString Method
ContentsIndexHome
PreviousUpNext
TIdDecoder.DecodeString Method

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

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.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.