Wire format examples

Link Dupont link.dupont at mac.com
Fri Oct 18 01:09:31 UTC 2024



> On Oct 17, 2024, at 17:00, Lawrence D'Oliveiro <ldo at geek-central.gen.nz> wrote:
> 
> On Thu, 17 Oct 2024 11:17:17 -0400, Robert Middleton wrote:
> 
>> ... the fact that you can have nested objects and varied lengths of
>> data is what really trips me up.
> 
> And note that objects requiring greater alignment can occur inside
> parent objects with lesser alignment requirements. So the only way to
> know where the padding should be placed is to look at the message as a
> whole.

In my exploration so far, this is by far the most opaque element of the whole marshaling format to me. I haven’t found a pattern yet that I can use to figure out when and where to pad the data buffer.


More information about the dbus mailing list