30 out << static_cast<uint64_t>(m_bytesWritten);
34 out.WriteBuffer(m_memory.get(),m_bytesWritten);
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
The virtual base class which provides a unified interface for all persistent objects in MRPT...
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
This must be inserted in all CSerializable classes implementation files.
void resize(uint64_t newSize)
Resizes the internal buffer size.
void readFromStream(mrpt::utils::CStream &in, int version)
Introduces a pure virtual method responsible for loading from a CStream This can not be used directly...
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations.
A memory buffer (implements CStream) which can be itself serialized.
unsigned __int64 uint64_t
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
void_ptr_noncopy m_memory
Internal data.