[ CCode ( has_construct_function = false ) ]
public DBusMessage.from_blob (uint8[] blob, DBusCapabilityFlags capabilities) throws Error
Creates a new DBusMessage from the data stored at blob
.
The byte order that the message was in can be retrieved using get_byte_order.
If the blob
cannot be parsed, contains invalid fields, or contains invalid headers,
g_io_error_invalid_argument will be returned.
blob |
A blob representing a binary D-Bus message. |
capabilities |
A DBusCapabilityFlags describing what protocol features are supported. |
blob_len |
The length of |
A new DBusMessage or null if throws is set. Free with unref. |