Registriert seit: 18. Aug 2004
Ort: Brackenheim VS08 Pro
2.876 Beiträge
|
Re: Bin2Hex - Probleme
23. Dez 2005, 14:35
Du könntest höchstens noch
Delphi-Quellcode:
result:=result+hexes[1+(bytes[i] div 16)];
result:=result+hexes[1+(bytes[i] mod 16)];
durch
Delphi-Quellcode:
result:=result+hexes[1+(bytes[i] shr 4)];
result:=result+hexes[1+(bytes[i] and $F)];
ersetzen  .
Sebastian Moderator in der EE
|