Re: Bytearray umwandeln in Zahl mit Vorzeichen Kategorie: Programmierung (von KönigDichBauch - 6.02.2006 9:01) | ||
Als Antwort auf Re: Bytearray umwandeln in Zahl mit Vorzeichen von Felix W. - 2.02.2006 9:39 | ||
| ||
Hallo, versuch das mal: function getlong(byte b[], int p) returns long { long l; l = b[p+0]; l = l or b[p+1] shl 8; l = l or b[p+2] shl 16; l = l or b[p+3] shl 24; return l; } GruÃ? | ||
Antwort schreiben Antworten: ![]() ![]() ![]() ![]() ![]() |