Indy 9
BinToHexStr
Unit: IdStrings
Converts character values to their hexadecimal representation.
function BinToHexStr(AData: Pointer; ADataLen: Integer): String;
Unit
IdStrings
Parameters
AData: Pointer
Pointer to native character values.
ADataLen: Integer
Number of characters to be converted.
Return Value
String - Character values converted to hexadecimal form.
Description
BinToHexStr is a String function that converts the values in the pointer AData to its representation in hexadecimal form. AData contains character values that represent the native binary representation of the character values to be converted.

The return value for BinToHexStr will convert each character value in AData to two hexadecimal digits.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.