Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6225 in orxonox.OLD for branches/network/src/lib


Ignore:
Timestamp:
Dec 21, 2005, 2:08:24 PM (19 years ago)
Author:
bwuest
Message:

Take my converter.h!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/converter.h

    r6219 r6225  
    2525    static int byteArrayToInt(const byte* a);
    2626
    27     //byte* floatToByteArray(float x);
    28     //float byteArrayToFloat(byte[] a);
     27    static int intToByteArray(int x, byte* a, int length);
     28    static int byteArrayToInt(byte* a, int* x);
    2929
     30    static int floatToByteArray(float x, byte* a, int length);
     31    static int byteArrayToFloat(byte* a, float* x);
     32   
    3033    //Test
    3134    static char* floatToBinString(float x);
Note: See TracChangeset for help on using the changeset viewer.