Ejemplo n.º 1
0
 private static void WRITE_SHORT(short svalue)
 {
     byte[] array = NET.EncodeShort(svalue);
     NET.sendbuffer[NET.writepos]     = array[0];
     NET.sendbuffer[NET.writepos + 1] = array[1];
     NET.writepos += 2;
 }