Definition in file mem_stream.h.
#include "nel/misc/types_nl.h"
#include "nel/misc/stream.h"
#include "nel/misc/object_vector.h"
#include "nel/misc/fast_mem.h"
Go to the source code of this file.
Namespaces | |
namespace | NLMISC |
Defines | |
#define | readnumber(dest, thetype, digits, convfunc) |
#define | writenumber(src, format, digits) |
|
Value: char number_as_cstring [digits+1]; \ uint realdigits = serialSeparatedBufferIn( (uint8*)&number_as_cstring, digits ); \ number_as_cstring[realdigits] = '\0'; \ dest = (thetype)convfunc( number_as_cstring ); Definition at line 525 of file mem_stream.h. |
|
Value: char number_as_cstring [digits+1]; \ sprintf( number_as_cstring, format, src ); \ serialSeparatedBufferOut( (uint8*)&number_as_cstring, strlen(number_as_cstring) ); Definition at line 532 of file mem_stream.h. |