Changeset 7459 in orxonox.OLD for branches/network/src/lib/network/synchronizeable_var/synchronizeable_string.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_string.cc
r7444 r7459 16 16 17 17 #include "synchronizeable_string.h" 18 #include "converter.h" 18 19 19 20 … … 44 45 int SynchronizeableString::writeToBuf( byte * buf, int maxLength ) 45 46 { 46 #warning implement this 47 int res = Converter::stringToByteArray( *vPtrIn, buf, maxLength ); 48 49 assert( res > 0 ); 50 51 return res; 47 52 } 48 53 … … 55 60 int SynchronizeableString::readFromBuf( byte * buf, int maxLength ) 56 61 { 57 #warning implement this 62 int res = Converter::byteArrayToString( buf, *vPtrOut, maxLength ); 63 64 assert( res > 0 ); 65 66 return res; 58 67 }
Note: See TracChangeset
for help on using the changeset viewer.