Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6746 in orxonox.OLD for branches/network/src/lib/network/converter.h


Ignore:
Timestamp:
Jan 25, 2006, 11:22:50 PM (18 years ago)
Author:
patrick
Message:

network: converter adj

File:
1 edited

Legend:

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

    r6740 r6746  
    3131    static int byteArrayToInt(const byte* a, int* x);
    3232
    33     static int floatToByteArray(float x, byte* a, int length);
    34     static int byteArrayToFloat(const byte* a, float* x);
    35 
    3633    static int stringToByteArray(const char* s, byte* a, int length, int maxLength);
    3734    static int byteArrayToString(const byte* a, char* s, int maxLength);
     
    4138    static char* floatToBinString(float x);
    4239
    43     static byte* floatToByteArray(float x);
    44     static float byteArrayToFloat(byte* a);
     40//     static byte* floatToByteArray(float x);
     41//     static float byteArrayToFloat(byte* a);
     42
     43    static int floatToByteArray(float x, byte* a, int length);
     44    static int byteArrayToFloat(const byte* a, float* x);
    4545
    4646    static int _floatToByteArray(float x, byte* a, int length);
    4747    static int _byteArrayToFloat(const byte* a, float* x);
     48
    4849
    4950
Note: See TracChangeset for help on using the changeset viewer.