Template Function pinocchio::serialization::loadFromBinary(T&, StaticBuffer&)

Function Documentation

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

Loads an object from a static binary buffer. The buffer should be of a sufficient size.

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.