Topic Path: Symbol Reference > Functions > ToHex Function (TIdBytes)
ContentsIndexHome
PreviousUpNext
ToHex Function

Converts values to their hexadecimal representation.

File
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.

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