Convert C-Code to PHP

I search for a Community Project "LG RoboKing Hacking" a User for converting C-Code to PHP-Code.

The JSON Message Worker is attached.

Preview Code to Convert:

private byte[] makeHeader(byte[] paramArrayOfByte, int paramInt1, byte paramByte, short paramShort1, short paramShort2, short paramShort3, int paramInt2)


paramArrayOfByte[0] = 13;

paramArrayOfByte[1] = (byte)paramInt1;

paramArrayOfByte[2] = paramByte;

paramArrayOfByte[3] = (byte)paramInt2;

[url removed, login to view](paramArrayOfByte, 4, 2).order(ByteOrder.LITTLE_ENDIAN).putShort(paramShort1);

[url removed, login to view](paramArrayOfByte, 6, 2).order(ByteOrder.LITTLE_ENDIAN).putShort(paramShort2);

[url removed, login to view](paramArrayOfByte, 8, 2).order(ByteOrder.LITTLE_ENDIAN).putShort(paramShort3);

return paramArrayOfByte;


public boolean sendData(Socket s, byte[] paramArrayOfByte) throws IOException


if (([url removed, login to view] == null) || ([url removed, login to view]()) || (![url removed, login to view]()))

return false;



OutputStream localOutputStream = [url removed, login to view]();

[url removed, login to view](paramArrayOfByte);

[url removed, login to view]();

return true;






public boolean sendJSONPacket(Socket s, String paramString, int paramInt) throws IOException


[url removed, login to view]("Send message: " + paramString);

int i = paramInt + 12;

byte[] arrayOfByte = makeHeader(new byte[i], 4, id, (short)0, (short)1, (short)paramInt, 0);

[url removed, login to view]([url removed, login to view]([url removed, login to view]("UTF-8")), 0, arrayOfByte, 12, paramInt);

if(id < 255)


id = (byte)(1 + id);



id = 0;

return sendData(s, arrayOfByte);


Beceriler: C Programlama, PHP, Yazılım Mimarisi

Daha fazlasını gör: int i, boolean search string, convert c#, convert 6, c++ code, c code, json string, php json write, php code write, system charset, code system php, null software, php code convert, php code send message, send message php, php convert utf, boolean string search, project php json, socket php, write php code send, software architecture community, project lg, order php code, json php project, hacking software

İşveren Hakkında:
( 1 değerlendirme ) Groß Rogahn, Germany

Proje NO: #6540495

Bu iş için 3 freelancer ortalamada €109 teklif veriyor


Hello, i have expert knowledge of both c and php languages, hopefully i can finish this in few hours. pm me to discuss further details

in %bids___i_period_sub_35% gün içinde110%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(117 Değerlendirme)

highly professional php coder with expirience in c language (android developer)

in %bids___i_period_sub_35% gün içinde89%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(15 Değerlendirme)

Δεν έχει γίνει καμιά πρόταση ακόμα

in %bids___i_period_sub_35% gün içinde127%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)