Skip to main content

Module value

Module value 

Source
Expand description

The D-Bus type system.

Every value on the bus is one of these, and every message body is described by a signature — a string of type codes like a{sv} (array of string → variant) or oa{sa{sv}} (the reply to GetManagedObjects). Marshalling is signature-directed: the bytes carry no type tags, so the decoder must be told what it is reading.

Enums§

Value
A D-Bus value.

Functions§

alignment
The natural alignment of a type code, in bytes.
complete_types
Split a signature into its complete top-level types.
type_length
How many bytes of signature the first complete type occupies.