Audiovox P965 Arkusz Danych Strona 244

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 280
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 243
API ActionScript 3 class
241
0xff);
data.writeByte(len & 0xff);
} else {
data.writeByte(0xF0);
data.writeByte((len >> 24) &
0xff);
data.writeByte((len >> 16) &
0xff);
data.writeByte((len >> 8) &
0xff);
data.writeByte(len & 0xff);
}
writeBytes(data);
writeUTFBytes(outData[i]);
}
writeByte(0);
flush();
}
private function readResponse():void {
var len:int;
if (toread == 0) {
var len1:uint = readUnsignedByte();
if (len1 == 0) {
if (gotDone || gotTrap || gotFatal) {
if (doLogin == 1) {
if (returnData[0].ret) {
var chal:ByteArray =
new ByteArray();
var md5:ByteArray = new
ByteArray();
for (var i:int = 0; i
< returnData[0].ret.length; i += 2) {
chal.writeByte(int("0x" + returnData[0].ret.substr(i,2)));
}
md5.writeByte(0);
md5.writeUTFBytes(password);
md5.writeBytes(chal);
doLogin++;
Przeglądanie stron 243
1 2 ... 239 240 241 242 243 244 245 246 247 248 249 ... 279 280

Komentarze do niniejszej Instrukcji

Brak uwag