guchar* g_dbus_message_to_blob ( GDBusMessage* message, gsize* out_size, GDBusCapabilityFlags capabilities, GError** error )
message to a blob. The byte order returned by
g_dbus_message_get_byte_order() will be used.
Available since: 2.26
Return location for size of generated blob.
The argument will be set by the function.
GDBusCapabilityFlagsdescribing what protocol features are supported.
The return location for a recoverable error.
The argument can be
If the return location is not
NULL, then you must initialize it to a
The argument will be left initialized to
NULLby the method if there are no errors.
In case of error, the argument will be set to a newly allocated
GError; the caller will take ownership of the data, and be responsible for freeing it.
Type: An array of
A pointer to a
valid binary D-Bus message of
out_size bytes generated by
error is set. Free with g_free().
|The length of the array is in the |
|The caller of the method takes ownership of the data, and is responsible for freeing it.|