Topic Path: Symbol Reference > Classes > TIdHash160 Class > TIdHash160 Methods > AsHex Method
TIdHash160.AsHex Method

Converts the hash value to it's hexadecimal representation.

class function AsHex(
    const AValue: T5x4LongWordRecord
): string;
The record containg LongWord values to converted to hex. 

String - Hexadecimal representation of the hash value.

AsHex is String class function that converts the hash value specified in AValue to it's hexadecimal representation. AsHex allocates a string with the length needed to represent the multiple LongWord values in AValue. AsHex allows uses of the method without an existing instance of the TIdHash160 class. 

AsHex calls the ToHex function to convert the data in AValue to it's hexadecimal representation.

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