Gio.DBusMessage.new_from_blob

function new_from_blob(blob: ByteArray, capabilities: Gio.DBusCapabilityFlags): Gio.DBusMessage {
    // Gjs wrapper for g_dbus_message_new_from_blob()
}
  

Creates a new Gio.DBusMessage from the data stored at blob. The byte order that the message was in can be retrieved using Gio.DBusMessage.prototype.get_byte_order.

Since 2.26

blob

A blob represent a binary D-Bus message.

capabilities

A Gio.DBusCapabilityFlags describing what protocol features are supported.

Returns

A new Gio.DBusMessage or null if @error is set. Free with GObject.Object.prototype.unref.