//-----------------------------------------------
//16进制字符转字符串
//-----------------------------------------------
function hextostring(str: string): string;
var
s,t:string;
i,j:integer;
p:pchar;
begin
s:='';
i:=1;
while i< length(str) do begin
t:=str[i]+str[i+1];
s:=s+chr(hextoint(t));
i:=i+2;
end;
result:=s;
end;
16进制和字符转互转
最新推荐文章于 2023-11-09 15:51:30 发布