QByteArray Class Reference
[QtCore module]
Methods
- __init__ (self)
- __init__ (self, int, str)
- __init__ (self, QByteArray)
- QByteArray append (self, QByteArray)
- QByteArray append (self, QString)
- str at (self, int)
- int capacity (self)
- chop (self, int)
- clear (self)
- bool contains (self, QByteArray)
- int count (self, QByteArray)
- int count (self)
- str data (self)
- bool endsWith (self, QByteArray)
- QByteArray fill (self, str, int size = -1)
- int indexOf (self, QByteArray, int from = 0)
- int indexOf (self, QString, int from = 0)
- QByteArray insert (self, int, QByteArray)
- QByteArray insert (self, int, QString)
- bool isEmpty (self)
- bool isNull (self)
- int lastIndexOf (self, QByteArray, int from = -1)
- int lastIndexOf (self, QString, int from = -1)
- QByteArray left (self, int)
- QByteArray leftJustified (self, int, str fill = ' ', bool truncate = False)
- int length (self)
- QByteArray mid (self, int, int length = -1)
- QByteArray prepend (self, QByteArray)
- push_back (self, QByteArray)
- push_front (self, QByteArray)
- QByteArray remove (self, int, int)
- QByteArray repeated (self, int)
- QByteArray replace (self, int, int, QByteArray)
- QByteArray replace (self, QByteArray, QByteArray)
- QByteArray replace (self, QString, QByteArray)
- reserve (self, int)
- resize (self, int)
- QByteArray right (self, int)
- QByteArray rightJustified (self, int, str fill = ' ', bool truncate = False)
- QByteArray setNum (self, int, int base = 10)
- QByteArray setNum (self, float, str format = 'g', int precision = 6)
- QByteArray setNum (self, int, int base = 10)
- QByteArray setNum (self, int, int base = 10)
- QByteArray simplified (self)
- int size (self)
- list-of-QByteArray split (self, str)
- squeeze (self)
- bool startsWith (self, QByteArray)
- QByteArray toBase64 (self)
- (float, bool ok) toDouble (self)
- (float, bool ok) toFloat (self)
- QByteArray toHex (self)
- (int, bool ok) toInt (self, int base = 10)
- (int, bool ok) toLong (self, int base = 10)
- (int, bool ok) toLongLong (self, int base = 10)
- QByteArray toLower (self)
- QByteArray toPercentEncoding (self, QByteArray exclude = QByteArray(), QByteArray include = QByteArray(), str percent = '%')
- (int, bool ok) toShort (self, int base = 10)
- (int, bool ok) toUInt (self, int base = 10)
- (int, bool ok) toULong (self, int base = 10)
- (int, bool ok) toULongLong (self, int base = 10)
- QByteArray toUpper (self)
- (int, bool ok) toUShort (self, int base = 10)
- QByteArray trimmed (self)
- truncate (self, int)
Static Methods
Special Methods
- QByteArray __add__ (self, QByteArray)
- QString __add__ (self, QString)
- int __contains__ (self, QByteArray a)
- bool __eq__ (self, QString)
- bool __eq__ (self, QByteArray)
- bool __ge__ (self, QString)
- bool __ge__ (self, QByteArray)
- str __getitem__ (self, int)
- QByteArray __getitem__ (self, slice slice)
- bool __gt__ (self, QString)
- bool __gt__ (self, QByteArray)
- int __hash__ (self)
- QByteArray __iadd__ (self, QByteArray)
- QByteArray __iadd__ (self, QString)
- QByteArray __imul__ (self, int m)
- bool __le__ (self, QString)
- bool __le__ (self, QByteArray)
- __len__ (self)
- bool __lt__ (self, QString)
- bool __lt__ (self, QByteArray)
- QByteArray __mul__ (self, int m)
- bool __ne__ (self, QString)
- bool __ne__ (self, QByteArray)
- str __repr__ (self)
- str __str__ (self)
Detailed Description
This class can be pickled.
A Python string object
may be used whenever a
QByteArray
is expected.
Method Documentation
QByteArray.__init__ (self)
QByteArray.__init__ (self, int, str)
QByteArray.__init__ (self, QByteArray)
QByteArray QByteArray.append (self, QString)
str QByteArray.at (self, int)
int QByteArray.capacity (self)
QByteArray.chop (self, int)
QByteArray.clear (self)
bool QByteArray.contains (self, QByteArray)
int QByteArray.count (self, QByteArray)
int QByteArray.count (self)
str QByteArray.data (self)
bool QByteArray.endsWith (self, QByteArray)
QByteArray QByteArray.fill (self, str, int size = -1)
QByteArray QByteArray.fromPercentEncoding (QByteArray, str percent = '%')
QByteArray QByteArray.fromRawData (str)
int QByteArray.indexOf (self, QByteArray, int from = 0)
int QByteArray.indexOf (self, QString, int from = 0)
QByteArray QByteArray.insert (self, int, QString)
bool QByteArray.isEmpty (self)
bool QByteArray.isNull (self)
int QByteArray.lastIndexOf (self, QByteArray, int from = -1)
int QByteArray.lastIndexOf (self, QString, int from = -1)
QByteArray QByteArray.left (self, int)
QByteArray QByteArray.leftJustified (self, int, str fill = ' ', bool truncate = False)
int QByteArray.length (self)
QByteArray QByteArray.mid (self, int, int length = -1)
QByteArray QByteArray.number (int, int base = 10)
QByteArray QByteArray.number (float, str format = 'g', int precision = 6)
QByteArray QByteArray.number (int, int base = 10)
QByteArray QByteArray.number (int, int base = 10)
QByteArray.push_back (self, QByteArray)
QByteArray.push_front (self, QByteArray)
QByteArray QByteArray.remove (self, int, int)
QByteArray QByteArray.repeated (self, int)
QByteArray.reserve (self, int)
QByteArray.resize (self, int)
QByteArray QByteArray.right (self, int)
QByteArray QByteArray.rightJustified (self, int, str fill = ' ', bool truncate = False)
QByteArray QByteArray.setNum (self, int, int base = 10)
QByteArray QByteArray.setNum (self, float, str format = 'g', int precision = 6)
QByteArray QByteArray.setNum (self, int, int base = 10)
QByteArray QByteArray.setNum (self, int, int base = 10)
QByteArray QByteArray.simplified (self)
int QByteArray.size (self)
list-of-QByteArray QByteArray.split (self, str)
QByteArray.squeeze (self)
bool QByteArray.startsWith (self, QByteArray)
QByteArray QByteArray.toBase64 (self)
(float, bool ok) QByteArray.toDouble (self)
(float, bool ok) QByteArray.toFloat (self)
QByteArray QByteArray.toHex (self)
(int, bool ok) QByteArray.toInt (self, int base = 10)
(int, bool ok) QByteArray.toLong (self, int base = 10)
(int, bool ok) QByteArray.toLongLong (self, int base = 10)
QByteArray QByteArray.toLower (self)
QByteArray QByteArray.toPercentEncoding (self, QByteArray exclude = QByteArray(), QByteArray include = QByteArray(), str percent = '%')
(int, bool ok) QByteArray.toShort (self, int base = 10)
(int, bool ok) QByteArray.toUInt (self, int base = 10)
(int, bool ok) QByteArray.toULong (self, int base = 10)
(int, bool ok) QByteArray.toULongLong (self, int base = 10)
QByteArray QByteArray.toUpper (self)
(int, bool ok) QByteArray.toUShort (self, int base = 10)
QByteArray QByteArray.trimmed (self)
QByteArray.truncate (self, int)
QString QByteArray.__add__ (self, QString)
int QByteArray.__contains__ (self, QByteArray a)
bool QByteArray.__eq__ (self, QString)
bool QByteArray.__eq__ (self, QByteArray)
bool QByteArray.__ge__ (self, QString)
bool QByteArray.__ge__ (self, QByteArray)
str QByteArray.__getitem__ (self, int)
QByteArray QByteArray.__getitem__ (self, slice slice)
bool QByteArray.__gt__ (self, QString)
bool QByteArray.__gt__ (self, QByteArray)
int QByteArray.__hash__ (self)
QByteArray QByteArray.__iadd__ (self, QString)
QByteArray QByteArray.__imul__ (self, int m)
bool QByteArray.__le__ (self, QString)
bool QByteArray.__le__ (self, QByteArray)
QByteArray.__len__ (self)
bool QByteArray.__lt__ (self, QString)
bool QByteArray.__lt__ (self, QByteArray)
QByteArray QByteArray.__mul__ (self, int m)
bool QByteArray.__ne__ (self, QString)
bool QByteArray.__ne__ (self, QByteArray)
str QByteArray.__repr__ (self)
str QByteArray.__str__ (self)