Template Function pinocchio::serialization::saveToBinary(const T&, StaticBuffer&)

Function Documentation

template<typename T>
inline void pinocchio::serialization::saveToBinary(const T &object, StaticBuffer &buffer)

Saves an object to a static binary buffer. The buffer should be of a sufficient size.

Template Parameters:

T – Type of the object to deserialize.

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

  • buffer[out] Output buffer containing the serialized data.