Changeset 6746 in orxonox.OLD for branches/network/src/lib/network/converter.h
- Timestamp:
- Jan 25, 2006, 11:22:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/converter.h
r6740 r6746 31 31 static int byteArrayToInt(const byte* a, int* x); 32 32 33 static int floatToByteArray(float x, byte* a, int length);34 static int byteArrayToFloat(const byte* a, float* x);35 36 33 static int stringToByteArray(const char* s, byte* a, int length, int maxLength); 37 34 static int byteArrayToString(const byte* a, char* s, int maxLength); … … 41 38 static char* floatToBinString(float x); 42 39 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); 45 45 46 46 static int _floatToByteArray(float x, byte* a, int length); 47 47 static int _byteArrayToFloat(const byte* a, float* x); 48 48 49 49 50
Note: See TracChangeset
for help on using the changeset viewer.