|
|
|
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-2010 sixca.com, All rights reserved.
Best view @ 800X600, IE 6.0 up Terms Privacy
|
|
|