function Bytes2HexStr(buf: TBytes; len: Integer): AnsiString;spa
begin orm
SetLength(Result, len*2); BinToHex(@buf[0], PAnsiChar(Result), len);it
end;io
procedure TForm1.FormCreate(Sender: TObject);function
var co
bf: TBytes; Str: AnsiString;background
begin
bf := BytesOf('5677899090jjnm,nAB0098CDEFG'); rStr := Bytes2HexStr(bf, Length(bf)); ShowMessage(rStr);
end;