Convert C-Code to PHP
€30-250 EUR
Publicado hace más de 9 años
€30-250 EUR
Pagado a la entrega
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;
[login to view URL](paramArrayOfByte, 4, 2).order(ByteOrder.LITTLE_ENDIAN).putShort(paramShort1);
[login to view URL](paramArrayOfByte, 6, 2).order(ByteOrder.LITTLE_ENDIAN).putShort(paramShort2);
[login to view URL](paramArrayOfByte, 8, 2).order(ByteOrder.LITTLE_ENDIAN).putShort(paramShort3);
return paramArrayOfByte;
}
public boolean sendData(Socket s, byte[] paramArrayOfByte) throws IOException
{
if (([login to view URL] == null) || ([login to view URL]()) || (![login to view URL]()))
return false;
try
{
OutputStream localOutputStream = [login to view URL]();
[login to view URL](paramArrayOfByte);
[login to view URL]();
return true;
}
finally
{
}
}
public boolean sendJSONPacket(Socket s, String paramString, int paramInt) throws IOException
{
[login to view URL]("Send message: " + paramString);
int i = paramInt + 12;
byte[] arrayOfByte = makeHeader(new byte[i], 4, id, (short)0, (short)1, (short)paramInt, 0);
[login to view URL]([login to view URL]([login to view URL]("UTF-8")), 0, arrayOfByte, 12, paramInt);
if(id < 255)
{
id = (byte)(1 + id);
}
else
id = 0;
return sendData(s, arrayOfByte);
}
ID del proyecto: 6540495
Información sobre el proyecto
3 propuestas
Proyecto remoto
Activo hace 10 años
¿Buscas ganar dinero?
Beneficios de presentar ofertas en Freelancer
Fija tu plazo y presupuesto
Es gratis registrarse y presentar ofertas en los trabajos
3 freelancers están ofertando un promedio de €109 EUR por este trabajo
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
€110 EUR en 2 días
4,9 (117 comentarios) highly professional php coder with expirience in c language (android developer)
€89 EUR en 3 días
5,0 (15 comentarios) Δεν έχει γίνει καμιά πρόταση ακόμα
€127 EUR en 3 días
0,0 (0 comentarios)