Expressing large integer values in D-Bus APIs
Lawrence D'Oliveiro
ldo at geek-central.gen.nz
Mon Jul 17 23:20:06 UTC 2017
On Mon, 17 Jul 2017 15:34:08 -0700, Thiago Macieira wrote:
> I'd recommend you just follow regular "bigint" type marshalling in
> other binary protocols.
Several years ago I came up with a variation
<http://www.codecodex.com/wiki/Variable-Length_Integers> on the scheme
used in Standard MIDI files. By applying an offset adjustment at each
stage in the shift, I create a fully bijective encoding, while making
the packing scheme ever so slightly more efficient.
More information about the dbus
mailing list