Skip to content

ByteArray

Qt Base Class: QByteArray

Signature: QByteArray(self) -> None QByteArray(self, arg__1: bytearray) -> None QByteArray(self, arg__1: bytes) -> None QByteArray(self, arg__1: bytes, size: int = -1) -> None QByteArray(self, arg__1: Union[PySide6.QtCore.QByteArray, bytes]) -> None QByteArray(self, size: int, c: int) -> None

Base classes

Name Children Inherits
QByteArray
PySide6.QtCore
QByteArray(self) -> None

⋔ Inheritance diagram

graph TD
  1473299843328["core.ByteArray"]
  1473289006208["QtCore.QByteArray"]
  1473291690208["Shiboken.Object"]
  140713234304496["builtins.object"]
  1473289006208 --> 1473299843328
  1473291690208 --> 1473289006208
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: QByteArray

Array of bytes.

Source code in prettyqt\core\bytearray.py
class ByteArray(QtCore.QByteArray):
    """Array of bytes."""

    def __reduce__(self):
        return type(self), (bytes(self),)