System.SysUtils.TByteHelper.ToHexString

From RAD Studio API Documentation
Jump to: navigation, search

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 Byte to a hexadecimal string.

This method is overloaded:

  • The first overloaded method ToHexString converts this Byte number to a hexadecimal string representation with 2 hexadecimal digits.
  • The second 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 processed, see the description of IntToHex.

See Also