Skip to content

ByteArray

Base classes

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

⋔ Inheritance diagram

graph TD
  1374079840["core.ByteArray"]
  1941102952["QtCore.QByteArray"]
  37984305["Shiboken.Object"]
  2751680898["builtins.object"]
  1941102952 --> 1374079840
  37984305 --> 1941102952
  2751680898 --> 37984305

🛈 DocStrings

Bases: QByteArray

Array of bytes.

Source code in prettyqt/core/bytearray.py
4
5
6
7
8
class ByteArray(QtCore.QByteArray):
    """Array of bytes."""

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

:fa-brands-github: Show source on GitHub