Re: Expressing large integer values in D-Bus APIs
Bastien Nocera <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2017-07-17 at 12:12 -0700, Andy Grover wrote: > Hi all, > > If we have a large integer value that might exceed 64 bits, how best > to > expose it on D-Bus? Convert to string? an array of [u64 (high), u64 > (low)]? An array of 16 bytes and specify endianness? > > Another solution (but the most work) would be to add INT/UINT128 > basic > types. Is that within the realm of possibility? What's it for? Hard to know what a better type would be otherwise. _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus