auto-sync
This commit is contained in:
parent
fad2c90887
commit
9a038c3ab8
|
@ -3,6 +3,7 @@
|
||||||
* @brief 1996 Ford Aspire default engine configuration
|
* @brief 1996 Ford Aspire default engine configuration
|
||||||
*
|
*
|
||||||
* FORD_ASPIRE_1996 = 3
|
* FORD_ASPIRE_1996 = 3
|
||||||
|
* set_engine_type 3
|
||||||
*
|
*
|
||||||
* @date Sep 9, 2013
|
* @date Sep 9, 2013
|
||||||
* @author Andrey Belomutskiy, (c) 2012-2015
|
* @author Andrey Belomutskiy, (c) 2012-2015
|
||||||
|
|
|
@ -31,4 +31,8 @@ public class ConfigurationImage {
|
||||||
fos.close();
|
fos.close();
|
||||||
System.out.println("Saved to " + fileName);
|
System.out.println("Saved to " + fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public byte[] getContent() {
|
||||||
|
return content;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -155,6 +155,8 @@ public class BinaryProtocol {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
System.arraycopy(response, 1, image.getContent(), offset, requestSize);
|
||||||
|
|
||||||
offset += requestSize;
|
offset += requestSize;
|
||||||
}
|
}
|
||||||
System.out.println("Got image!");
|
System.out.println("Got image!");
|
||||||
|
|
Loading…
Reference in New Issue