Home     Projects     Micro     Tools     Delphi     Developer     Site map
HOME  
 
Delphi index
 
Convert Hex to Byte string

To convert a Hex into a string format of Byte can use
IntToHex function by assign 2 for the Digits.

function IntToHex(Value: Integer; Digits: Integer): string;

Example :

MyByteStr := IntToHex($FF,2);
result MyByteStr is "FF"

look here IntToHex function.



 
Copyright(c) 2005-2008 sixca.com, All right reserved.
Best view @ 800X600, IE 6.0 up   
Terms of Use  Privacy Policy