binary data through dbus-python

Tomeu Vizoso tomeu at tomeuvizoso.net
Wed Dec 20 13:16:41 PST 2006


Hi,

I need to pass some binary data (for images, audio, etc.) from python to
python through dbus using the latest dbus-python (this stuff is for the
olpc).

What is the recommended way for doing this? Which data types should I
use in the method signatures?

If the answer is to use an array of bytes, what is the best way to
convert an string to an array of bytes and back? iterating?

Thanks,

Tomeu



More information about the dbus mailing list