DBusMessage.toBlob

Serializes @message to a blob. The byte order returned by g_dbus_message_get_byte_order() will be used.

class DBusMessage
char[]
toBlob

Parameters

capabilities GDBusCapabilityFlags

A #GDBusCapabilityFlags describing what protocol features are supported.

Return: A pointer to a valid binary D-Bus message of @out_size bytes generated by @message or %NULL if @error is set. Free with g_free().

Throws

GException on failure.

Meta

Since

2.26