[Xcb] STRING8?

Josh Triplett josh@freedesktop.org
Fri Jan 21 22:02:40 PST 2005

Jeremy Kolb wrote:
> Thanks, after the string I have a pad which depends on the length of
> the string. In the docs it's of size p where p=pad(n), where n is the
> size of the string, but I'm not sure how to do this. Thanks for the
> help.

You don't need to worry about "pad(n)" pads at the end of data
structures.  That notation means "pad to the appropriate boundary", and
XCB handles that internally.

(Could someone else please confirm that?)

- Josh Triplett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20050121/4093b85a/signature.pgp

More information about the xcb mailing list