Re: Wire format examples
Link Dupont <[email protected]> Thu, 17 Oct 2024 21:09:31 -0400
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <[email protected]> |
> On Oct 17, 2024, at 17:00, Lawrence D'Oliveiro = <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]> wrote: >=20 > On Thu, 17 Oct 2024 11:17:17 -0400, Robert Middleton wrote: >=20 >> ... the fact that you can have nested objects and varied lengths of >> data is what really trips me up. >=20 > 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=E2=80=99t found a pattern yet = that I can use to figure out when and where to pad the data buffer.=