Template Function coal::serialization::loadFromBuffer

Function Documentation

template<typename T>
inline void coal::serialization::loadFromBuffer(T &object, boost::asio::streambuf &buffer)

Loads an object from a binary buffer.

Template Parameters:

T – Type of the object to deserialize.

Parameters:
  • object[out] Object in which the loaded data are copied.

  • buffer[in] Input buffer containing the serialized data.