to_blob


Description:

[ CCode ( array_length_pos = 0.5 , array_length_type = "gsize" ) ]
public uint8[] to_blob (DBusCapabilityFlags capabilities) throws Error

Serializes this to a blob.

The byte order returned by [method@Gio.DBusMessage.get_byte_order] will be used.

Parameters:

this

a D-Bus message

capabilities

flags describing what protocol features are supported

out_size

return location for size of generated blob, in bytes

Returns:

A pointer to a valid binary D-Bus message of return.length bytes generated by this