Expressing large integer values in D-Bus APIs

Bastien Nocera hadess at
Mon Jul 17 21:53:53 UTC 2017

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.

More information about the dbus mailing list