Wire format examples

Link Dupont <[email protected]> Thu, 17 Oct 2024 09:09:20 -0400
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
Hello,

I=E2=80=99m experimenting with writing a client library from scratch =
(rather than building on libdbus or using bindings to bridge to an =
existing library). I=E2=80=99ve 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=E2=80=99=
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=