Define rmw_serialized_message_fini

Define Documentation

rmw_serialized_message_fini(serialized_message)

Finalize a serialized message.

Given serialized message must have been initialized with rmw_serialized_message_init().

Remark

If serialized message is zero initialized, then RMW_RET_INVALID_ARGUMENT is returned.

Parameters:
  • serialized_message[in] pointer to the serialized message to be cleaned up

Returns:

RMW_RET_OK if successful, or

Returns:

RMW_RET_INVALID_ARGUMENT if serialized_message is invalid, or

Returns:

RMW_RET_ERROR if an unexpected error occurs