DBus wire protocol padding

Jakub Piotr Cłapa jpc at pld-linux.org
Fri Aug 5 07:40:29 EST 2005


What is the offset used when calculating padding? Is it always 
calculated from the beginning of the message (body elements padding from 
the beginning of the body?)?

What the suggested offset would be when it is used as a universal 
marshaling protocol (the possibility is mentioned in the spec)?

It's probably not a real problem because most (if not all) the message 
parts end on an 8-byte boundary but it could be standardized and 
documented for completness.

The whole section about paddings was not really obvious for me and it 
probably could use some fixing but I'm afraid I can't help with this 
because sadly I couldn't write anything better than what there already 
is. ;)

Btw. The specification is really great and very clear (only the paddings 
caused some problems for me). Good work! :)

-- 
z wyrazami szacunku,
Jakub Piotr Cłapa


More information about the dbus mailing list