System.SysUtils.TByteHelper.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 | TByteHelper |
Description
Converts a Byte number to a string value.
This method is overloaded:
- The first overloaded method ToHexString converts the Byte
Value
parameter to a hexadecimal string representation. - The second overloaded method ToHexString converts the Byte
Value
parameter to a hexadecimal string with a minimum number of hexadecimal digits represented by theMinDigits
parameter. - The third overloaded method ToHexString converts this Byte number to a hexadecimal string representation.
- The fourth overloaded method ToHexString converts this Byte 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 done, see the description of IntToHex.