System.SysUtils.TNativeUIntHelper.ToHexString
Delphi
function ToHexString: string; overload; inline;
function ToHexString(const MinDigits: Integer): string; overload; inline;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TNativeUIntHelper |
Description
Converts NativeUInt to a hexadecimal string.
This method is overloaded:
- The first overloaded method ToHexString converts this NativeUInt number to a hexadecimal string representation with 8 hexadecimal digits on 32-bit platforms and 16 hexadecimal digits on 64-bit platforms.
- The second overloaded method ToHexString converts this NativeUInt number to a hexadecimal string with a minimum number of hexadecimal digits represented by the
MinDigits
parameter.
Note: For details on how the conversion is processed, see the description of IntToHex.