Wire format examples

Link Dupont link.dupont at mac.com
Thu Oct 17 13:09:20 UTC 2024


Hello,

I’m experimenting with writing a client library from scratch (rather than building on libdbus or using bindings to bridge to an existing library). I’ve been reading about the Type System[1] and the Marshaling Wire Format[2]. There are a few examples in the specification, but in order to verify my marshal/unmarshal logic, I’d like some more real-world examples of signatures, marshaled message bodies and the primitive types they are expected to unmarshal into. Does anyone know of a collection of more thorough wire format examples? Or a means through which I could generate my own?

~link

1: https://dbus.freedesktop.org/doc/dbus-specification.html#type-system
2: https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-marshaling


More information about the dbus mailing list