Internet Direct (Indy)
Home
PreviousUpNext
ToHex Function

Converts values to their hexadecimal representation.

Pascal
function ToHex(
    const AValue: TIdBytes
): AnsiString; overload;
Parameters 
Description 
AValue 
Values to be converted to their hexadecimal representation. 

String - Hexadecimal representation for the converted values.

ToHex is an overloaded String function used to convert the values specified in AValue to a string containing hexadecimal digits. 

Each byte value in AValue is converted to its 2-byte hexademical representation using IdHexDigits.

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.