Home | Trees | Indices | Help |
---|
|
object --+ | basestring --+ | str --+ | _dbus_bindings._StrBase --+ | ByteArray
ByteArray is a subtype of str which can be used when you want an efficient immutable representation of a D-Bus byte array (signature 'ay').
By default, when byte arrays are converted from D-Bus to Python, they come out as a dbus.Array of dbus.Byte. This is just for symmetry with the other D-Bus types - in practice, what you usually want is the byte array represented as a string, using this class. To get this, pass the byte_arrays=True keyword argument to any of these methods:
Import via:
from dbus import ByteArray
Constructor:
ByteArray(str)
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Nov 7 23:07:56 2012 | http://epydoc.sourceforge.net |