Changeset 7459 in orxonox.OLD for branches/network/src/lib/network/synchronizeable_var/synchronizeable_int.cc
- Timestamp:
- Apr 30, 2006, 1:50:25 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/synchronizeable_var/synchronizeable_int.cc
r7444 r7459 16 16 17 17 #include "synchronizeable_int.h" 18 #include "converter.h" 18 19 19 20 … … 44 45 int SynchronizeableInt::writeToBuf( byte * buf, int maxLength ) 45 46 { 46 #warning implement this 47 int res = Converter::intToByteArray( *vPtrIn, buf, maxLength ); 48 49 assert( res == INTSIZE ); 50 51 return res; 47 52 } 48 53 … … 55 60 int SynchronizeableInt::readFromBuf( byte * buf, int maxLength ) 56 61 { 57 #warning implement this 62 assert( maxLength >= INTSIZE ); 63 64 int res = Converter::byteArrayToInt( buf, vPtrOut ); 65 66 assert( res == INTSIZE ); 67 68 return res; 58 69 }
Note: See TracChangeset
for help on using the changeset viewer.