Expressing large integer values in D-Bus APIs

Andy Grover agrover at
Mon Jul 17 19:12:09 UTC 2017

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?

Thanks -- Regards -- Andy

More information about the dbus mailing list