Re: Expressing large integer values in D-Bus APIs
Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
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. _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus