QBuffer

class PyQt5.QtCore.QBuffer

C++ documentation