标签:form etl bytes create ring sof into char sage
function Bytes2HexStr(buf: TBytes; len: Integer): AnsiString;
begin
SetLength(Result, len*2); BinToHex(@buf[0], PAnsiChar(Result), len);
end;
procedure TForm1.FormCreate(Sender: TObject);
var
bf: TBytes; Str: AnsiString;
begin
bf := BytesOf(‘5677899090jjnm,nAB0098CDEFG‘); rStr := Bytes2HexStr(bf, Length(bf)); ShowMessage(rStr);
end;
标签:form etl bytes create ring sof into char sage
原文地址:http://www.cnblogs.com/yzryc/p/6329472.html