Kapalı

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;

try

{

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

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

[url removed, login to view]();

return true;

}

finally

{

}

}

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);

}

else

id = 0;

return sendData(s, arrayOfByte);

}

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

Daha fazlasını görün: 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

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

InfinityGD

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 2 gün içinde110€ EUR
(117 Değerlendirme)
6.5
Rodja

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

in 3 gün içinde89€ EUR
(15 Değerlendirme)
3.9
George0732

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

in 3 gün içinde127€ EUR
(0 Değerlendirme)
0.0