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 get_byte_order will be used.

Parameters:

this

A DBusMessage.

capabilities

A DBusCapabilityFlags describing what protocol features are supported.

out_size

Return location for size of generated blob.

Returns:

A pointer to a valid binary D-Bus message of return.length bytes generated by this or null if throws is set. Free with g_free.