dbus2 / zbus-old

Rust D-Bus crate.
https://gitlab.freedesktop.org/dbus/zbus
Other
49 stars 13 forks source link

Support non-native endianness #262

Open zeenix opened 2 years ago

zeenix commented 2 years ago

In GitLab by @Raytar on Feb 8, 2022, 16:08

Currently, zbus is limited to handling messages that use the native endianness. However, some peers may use the non-native endianness instead. I have observed this with jetbrains-toolbox sending big-endian messages on a little-endian system.

zeenix commented 2 years ago

I have observed this with jetbrains-toolbox sending big-endian messages on a little-endian system.

Is is only that it sends in BE but can receive in LE as well? If so, that makes things much easier. We'll probably still need a solution to dictate the endianness to zbus in the long term but for that's not at all urgent.