Add missing IntToHex overloads
Original Reporter info from Mantis: Bi0T1N @Bi0T1N
-
Reporter name: Bi0T1N
Original Reporter info from Mantis: Bi0T1N @Bi0T1N
- Reporter name: Bi0T1N
Description:
Following IntToHex() overloads (http://docwiki.embarcadero.com/Libraries/Rio/en/System.SysUtils.IntToHex) are missing:
function IntToHex(Value: Int8): string; function IntToHex(Value: UInt8): string; function IntToHex(Value: Int16): string; function IntToHex(Value: UInt16): string; function IntToHex(Value: Int32): string; function IntToHex(Value: UInt32): string; function IntToHex(Value: Int64): string; function IntToHex(Value: UInt64): string;
Additional information:
The type helpers already provide a ToHexString function which also does what the missing functions do, I just don't know if the ToHexString should call the appropriate IntToHex function or if the new IntToHex functions should use Value.ToHexString to avoid code duplications.