Template Function coal::serialization::saveToBuffer
Defined in File archive.h
Function Documentation
-
template<typename T>
void coal::serialization::saveToBuffer(const T &object, boost::asio::streambuf &buffer) Saves an object to a binary buffer.
- Template Parameters:
T – Type of the object to serialize.
- Parameters:
object – [in] Object in which the loaded data are copied.
buffer – [out] Output buffer containing the serialized data.