Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide2.QtCore »

Classe « QByteArray »

Informations générales

Héritage

builtins.object
    Object
        QByteArray

Définition

class QByteArray(Object):

Description [extrait de QByteArray.__doc__]

QByteArray(self)
QByteArray(self, arg__1: bytearray)
QByteArray(self, arg__1: bytes)
QByteArray(self, arg__1: PySide2.QtCore.QByteArray)
QByteArray(self, size: int, c: int)

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
Base64EncodingPySide2.QtCore.QByteArray.Base64Option.Base64Encoding
Base64UrlEncodingPySide2.QtCore.QByteArray.Base64Option.Base64UrlEncoding
KeepTrailingEqualsPySide2.QtCore.QByteArray.Base64Option.KeepTrailingEquals
OmitTrailingEqualsPySide2.QtCore.QByteArray.Base64Option.OmitTrailingEquals

Liste des opérateurs

Signature de l'opérateur Description
__add__ __add__(self, a2: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QByteArray [extrait de __add__.__doc__]
__delitem__(self, key) Delete self[key]. [extrait de __delitem__.__doc__]
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__getitem__(self, key) Return self[key]. [extrait de __getitem__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__iadd__ __iadd__(self, a: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QByteArray [extrait de __iadd__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]
__radd__(self, value) Return value+self. [extrait de __radd__.__doc__]
__setitem__(self, key, value) Set self[key] to value. [extrait de __setitem__.__doc__]

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__bool__(self) self != 0 [extrait de __bool__.__doc__]
__copy__(self) __copy__(self) [extrait de __copy__.__doc__]
__hash__(self) Return hash(self). [extrait de __hash__.__doc__]
__len__(self) Return len(self). [extrait de __len__.__doc__]
__reduce__(self) -> object __reduce__(self) -> object [extrait de __reduce__.__doc__]
__repr__(self) -> object __repr__(self) -> object [extrait de __repr__.__doc__]
__str__(self) -> object __str__(self) -> object [extrait de __str__.__doc__]
append append(self, a: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QByteArray [extrait de append.__doc__]
at(self, i: int) -> int at(self, i: int) -> int [extrait de at.__doc__]
back(self) -> int back(self) -> int [extrait de back.__doc__]
Base64Option
Base64Options
capacity(self) -> int capacity(self) -> int [extrait de capacity.__doc__]
cbegin(self) -> bytes cbegin(self) -> bytes [extrait de cbegin.__doc__]
cend(self) -> bytes cend(self) -> bytes [extrait de cend.__doc__]
chop(self, n: int) chop(self, n: int) [extrait de chop.__doc__]
chopped(self, len: int) -> PySide2.QtCore.QByteArray chopped(self, len: int) -> PySide2.QtCore.QByteArray [extrait de chopped.__doc__]
clear(self) clear(self) [extrait de clear.__doc__]
compare compare(self, a: PySide2.QtCore.QByteArray, cs: PySide2.QtCore.Qt.CaseSensitivity = PySide2.QtCore.Qt.CaseSensitivity.CaseSensitive) -> int [extrait de compare.__doc__]
contains contains(self, a: PySide2.QtCore.QByteArray) -> bool [extrait de contains.__doc__]
count count(self) -> int [extrait de count.__doc__]
data(self) -> bytes data(self) -> bytes [extrait de data.__doc__]
endsWith endsWith(self, a: PySide2.QtCore.QByteArray) -> bool [extrait de endsWith.__doc__]
fill(self, c: int, size: int = -1) -> PySide2.QtCore.QByteArray fill(self, c: int, size: int = -1) -> PySide2.QtCore.QByteArray [extrait de fill.__doc__]
fromBase64 fromBase64(base64: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QByteArray [extrait de fromBase64.__doc__]
fromHex(hexEncoded: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QByteArray fromHex(hexEncoded: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QByteArray [extrait de fromHex.__doc__]
fromPercentEncoding(pctEncoded: PySide2.QtCore.QByteArray, percent: int = '%') -> PySide2.QtCore.QByteArray fromPercentEncoding(pctEncoded: PySide2.QtCore.QByteArray, percent: int = '%') -> PySide2.QtCore.QByteArray [extrait de fromPercentEncoding.__doc__]
fromRawData(arg__1: bytes, size: int) -> PySide2.QtCore.QByteArray fromRawData(arg__1: bytes, size: int) -> PySide2.QtCore.QByteArray [extrait de fromRawData.__doc__]
front(self) -> int front(self) -> int [extrait de front.__doc__]
indexOf(self, a: PySide2.QtCore.QByteArray, from_: int = 0) -> int indexOf(self, a: PySide2.QtCore.QByteArray, from_: int = 0) -> int [extrait de indexOf.__doc__]
insert insert(self, i: int, a: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QByteArray [extrait de insert.__doc__]
isEmpty(self) -> bool isEmpty(self) -> bool [extrait de isEmpty.__doc__]
isLower(self) -> bool isLower(self) -> bool [extrait de isLower.__doc__]
isNull(self) -> bool isNull(self) -> bool [extrait de isNull.__doc__]
isSharedWith(self, other: PySide2.QtCore.QByteArray) -> bool isSharedWith(self, other: PySide2.QtCore.QByteArray) -> bool [extrait de isSharedWith.__doc__]
isUpper(self) -> bool isUpper(self) -> bool [extrait de isUpper.__doc__]
lastIndexOf(self, a: PySide2.QtCore.QByteArray, from_: int = -1) -> int lastIndexOf(self, a: PySide2.QtCore.QByteArray, from_: int = -1) -> int [extrait de lastIndexOf.__doc__]
left(self, len: int) -> PySide2.QtCore.QByteArray left(self, len: int) -> PySide2.QtCore.QByteArray [extrait de left.__doc__]
leftJustified(self, width: int, fill: int = ' ', truncate: bool = False) -> PySide2.QtCore.QByteArray leftJustified(self, width: int, fill: int = ' ', truncate: bool = False) -> PySide2.QtCore.QByteArray [extrait de leftJustified.__doc__]
length(self) -> int length(self) -> int [extrait de length.__doc__]
mid(self, index: int, len: int = -1) -> PySide2.QtCore.QByteArray mid(self, index: int, len: int = -1) -> PySide2.QtCore.QByteArray [extrait de mid.__doc__]
number number(arg__1: float, f: int = 'g', prec: int = 6) -> PySide2.QtCore.QByteArray [extrait de number.__doc__]
prepend prepend(self, a: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QByteArray [extrait de prepend.__doc__]
remove(self, index: int, len: int) -> PySide2.QtCore.QByteArray remove(self, index: int, len: int) -> PySide2.QtCore.QByteArray [extrait de remove.__doc__]
repeated(self, times: int) -> PySide2.QtCore.QByteArray repeated(self, times: int) -> PySide2.QtCore.QByteArray [extrait de repeated.__doc__]
replace replace(self, before: PySide2.QtCore.QByteArray, after: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QByteArray [extrait de replace.__doc__]
reserve(self, size: int) reserve(self, size: int) [extrait de reserve.__doc__]
resize(self, size: int) resize(self, size: int) [extrait de resize.__doc__]
right(self, len: int) -> PySide2.QtCore.QByteArray right(self, len: int) -> PySide2.QtCore.QByteArray [extrait de right.__doc__]
rightJustified(self, width: int, fill: int = ' ', truncate: bool = False) -> PySide2.QtCore.QByteArray rightJustified(self, width: int, fill: int = ' ', truncate: bool = False) -> PySide2.QtCore.QByteArray [extrait de rightJustified.__doc__]
setNum setNum(self, arg__1: float, f: int = 'g', prec: int = 6) -> PySide2.QtCore.QByteArray [extrait de setNum.__doc__]
setRawData(self, a: bytes, n: int) -> PySide2.QtCore.QByteArray setRawData(self, a: bytes, n: int) -> PySide2.QtCore.QByteArray [extrait de setRawData.__doc__]
shrink_to_fit(self) shrink_to_fit(self) [extrait de shrink_to_fit.__doc__]
simplified(self) -> PySide2.QtCore.QByteArray simplified(self) -> PySide2.QtCore.QByteArray [extrait de simplified.__doc__]
size(self) -> int size(self) -> int [extrait de size.__doc__]
split(self, sep: int) -> typing.List[PySide2.QtCore.QByteArray] split(self, sep: int) -> typing.List[PySide2.QtCore.QByteArray] [extrait de split.__doc__]
squeeze(self) squeeze(self) [extrait de squeeze.__doc__]
startsWith startsWith(self, a: PySide2.QtCore.QByteArray) -> bool [extrait de startsWith.__doc__]
swap(self, other: PySide2.QtCore.QByteArray) swap(self, other: PySide2.QtCore.QByteArray) [extrait de swap.__doc__]
toBase64 toBase64(self) -> PySide2.QtCore.QByteArray [extrait de toBase64.__doc__]
toDouble(self) -> typing.Tuple[float, bool] toDouble(self) -> typing.Tuple[float, bool] [extrait de toDouble.__doc__]
toFloat(self) -> typing.Tuple[float, bool] toFloat(self) -> typing.Tuple[float, bool] [extrait de toFloat.__doc__]
toHex toHex(self) -> PySide2.QtCore.QByteArray [extrait de toHex.__doc__]
toInt(self, base: int = 10) -> typing.Tuple[int, bool] toInt(self, base: int = 10) -> typing.Tuple[int, bool] [extrait de toInt.__doc__]
toLong(self, base: int = 10) -> typing.Tuple[int, bool] toLong(self, base: int = 10) -> typing.Tuple[int, bool] [extrait de toLong.__doc__]
toLongLong(self, base: int = 10) -> typing.Tuple[int, bool] toLongLong(self, base: int = 10) -> typing.Tuple[int, bool] [extrait de toLongLong.__doc__]
toLower(self) -> PySide2.QtCore.QByteArray toLower(self) -> PySide2.QtCore.QByteArray [extrait de toLower.__doc__]
toPercentEncoding(self, exclude: PySide2.QtCore.QByteArray = Default(QByteArray), include: PySide2.QtCore.QByteArray = Default(QByteArray), percent: int = '%') -> PySide2.QtCore.QByteArray toPercentEncoding(self, exclude: PySide2.QtCore.QByteArray = Default(QByteArray), include: PySide2.QtCore.QByteArray = Default(QByteArray), percent: int = '%') -> PySide2.QtCore.QByteArray [extrait de toPercentEncoding.__doc__]
toShort(self, base: int = 10) -> typing.Tuple[int, bool] toShort(self, base: int = 10) -> typing.Tuple[int, bool] [extrait de toShort.__doc__]
toUInt(self, base: int = 10) -> typing.Tuple[int, bool] toUInt(self, base: int = 10) -> typing.Tuple[int, bool] [extrait de toUInt.__doc__]
toULong(self, base: int = 10) -> typing.Tuple[int, bool] toULong(self, base: int = 10) -> typing.Tuple[int, bool] [extrait de toULong.__doc__]
toULongLong(self, base: int = 10) -> typing.Tuple[int, bool] toULongLong(self, base: int = 10) -> typing.Tuple[int, bool] [extrait de toULongLong.__doc__]
toUpper(self) -> PySide2.QtCore.QByteArray toUpper(self) -> PySide2.QtCore.QByteArray [extrait de toUpper.__doc__]
toUShort(self, base: int = 10) -> typing.Tuple[int, bool] toUShort(self, base: int = 10) -> typing.Tuple[int, bool] [extrait de toUShort.__doc__]
trimmed(self) -> PySide2.QtCore.QByteArray trimmed(self) -> PySide2.QtCore.QByteArray [extrait de trimmed.__doc__]
truncate(self, pos: int) truncate(self, pos: int) [extrait de truncate.__doc__]

Méthodes héritées de la classe Object

__init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__delattr__, __dir__, __format__, __getattribute__, __reduce_ex__, __setattr__, __sizeof__