FireDAC.Stan.Util.FDBin2Hex
Delphi
function FDBin2Hex(APtr: Pointer; ALen: Integer): String;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall FDBin2Hex(void * APtr, int ALen);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Stan.Util.pas FireDAC.Stan.Util.hpp |
FireDAC.Stan.Util | FireDAC.Stan.Util |
Description
Returns a hexadecimal representation of a Pointer.
The FDBin2Hex function returns a hexadecimal string representation of the APtr
parameter up to ALen
bytes.
ALen
is the buffer size. APtr
needs to point to a sequence of characters that has at least 2*ALen
bytes because each hexadecimal character represents two bytes.