Byte To Hex

Submitted by:Pitter Alderson

Date added:21 September, 2013

Category:Delphi

Returns the hexadecimal representation of the given byte value.

Tags: hexadecimal

Code Snippet:

function ByteToHex(const B: Byte): string;
begin
Result := SysUtils.IntToHex(B, 2 * SizeOf(B));
end;
 
 

Comments