When using PyGObject GLib.Bytes.get_data() returns a Python 2 str or Python 3 bytes object (which is easily decoded to a str). With pgi I get a Python list of pgi.clib.gir.gitypelib.LP_c_ubyte objects. I've not yet found a way to convert this to anything useful.
When using PyGObject
GLib.Bytes.get_data()
returns a Python 2str
or Python 3bytes
object (which is easily decoded to astr
). With pgi I get a Python list ofpgi.clib.gir.gitypelib.LP_c_ubyte
objects. I've not yet found a way to convert this to anything useful.