PythonQt.QtCore.QBuffer · declarations 001
Back to PythonQt.QtCore.QBuffer
Append
instance-attribute
Append: Any
NotOpen
instance-attribute
NotOpen: Any
OpenMode
instance-attribute
OpenMode: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
OpenModeFlag
instance-attribute
OpenModeFlag: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
ReadOnly
instance-attribute
ReadOnly: Any
ReadWrite
instance-attribute
ReadWrite: Any
Text
instance-attribute
Text: Any
Truncate
instance-attribute
Truncate: Any
Unbuffered
instance-attribute
Unbuffered: Any
WriteOnly
instance-attribute
WriteOnly: Any
aboutToClose
aboutToClose(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QBuffer.aboutToClose; argument details are not documented.
atEnd
atEnd() -> bool
X.atEnd() -> bool
Supplemental documentation: Qt 5 reference:
[override virtual] bool QBuffer::atEnd() const
Reimplements: QIODevice::atEnd() const.
Upstream PySide2 reference signatures (binding differences may apply):
atEnd(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qbuffer.html#atEnd
buffer
buffer() -> Any
X.buffer() -> PythonQt.QtCore.QByteArray
Supplemental documentation: Qt 5 reference:
QByteArray \&QBuffer::buffer()
Returns a reference to the QBuffer's internal buffer. You can use it to modify the QByteArray behind the QBuffer's back.
See also setBuffer() and data().
const QByteArray \&QBuffer::buffer() const
This is an overloaded function.
This is the same as data().
Upstream PySide2 reference signatures (binding differences may apply):
buffer(self) -> PySide2.QtCore.QByteArray
Source: https://doc.qt.io/archives/qt-5.15/qbuffer.html#buffer
bytesAvailable
bytesAvailable() -> int
X.bytesAvailable() -> int
bytesToWrite
bytesToWrite() -> int
X.bytesToWrite() -> int
bytesWritten
bytesWritten(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QBuffer.bytesWritten; argument details are not documented.
canReadLine
canReadLine() -> bool
X.canReadLine() -> bool
Supplemental documentation: Qt 5 reference:
[override virtual] bool QBuffer::canReadLine() const
Reimplements: QIODevice::canReadLine() const.
Upstream PySide2 reference signatures (binding differences may apply):
canReadLine(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qbuffer.html#canReadLine
channelBytesWritten
channelBytesWritten(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QBuffer.channelBytesWritten; argument details are not documented.
channelReadyRead
channelReadyRead(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QBuffer.channelReadyRead; argument details are not documented.
close
close() -> None
X.close()
Supplemental documentation: Qt 5 reference:
[override virtual] void QBuffer::close()
Reimplements: QIODevice::close().
Upstream PySide2 reference signatures (binding differences may apply):
close(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qbuffer.html#close
connectNotify
connectNotify(arg__1: Any) -> None
X.connectNotify(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
connectNotify(self, arg__1: PySide2.QtCore.QMetaMethod) -> None
Source: https://doc.qt.io/archives/qt-5.15/qbuffer.html#connectNotify
data
data() -> Any
X.data() -> PythonQt.QtCore.QByteArray
Supplemental documentation: Qt 5 reference:
const QByteArray \&QBuffer::data() const
Returns the data contained in the buffer.
This is the same as buffer().
See also setData() and setBuffer().
Upstream PySide2 reference signatures (binding differences may apply):
data(self) -> PySide2.QtCore.QByteArray
Source: https://doc.qt.io/archives/qt-5.15/qbuffer.html#data
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QBuffer.destroyed; argument details are not documented.
disconnectNotify
disconnectNotify(arg__1: Any) -> None
X.disconnectNotify(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
disconnectNotify(self, arg__1: PySide2.QtCore.QMetaMethod) -> None
Source: https://doc.qt.io/archives/qt-5.15/qbuffer.html#disconnectNotify
errorString
errorString() -> str
X.errorString() -> str
getChar
getChar(c: Any) -> bool
X.getChar(c) -> bool
isOpen
isOpen() -> bool
X.isOpen() -> bool
isReadable
isReadable() -> bool
X.isReadable() -> bool
isSequential
isSequential() -> bool
X.isSequential() -> bool
isTextModeEnabled
isTextModeEnabled() -> bool
X.isTextModeEnabled() -> bool
isWritable
isWritable() -> bool
X.isWritable() -> bool
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QBuffer.objectNameChanged; argument details are not documented.
open
open(openMode: Any) -> bool
X.open(openMode) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual] bool QBuffer::open(QIODevice::OpenMode flags)
Reimplements: QIODevice::open(QIODevice::OpenMode mode).
Unlike QFile, opening a QBuffer QIODevice::WriteOnly does not truncate it. However, pos() is set to 0. Use QIODevice::Append or QIODevice::Truncate to change either behavior.
Upstream PySide2 reference signatures (binding differences may apply):
open(self, openMode: PySide2.QtCore.QIODevice.OpenMode) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qbuffer.html#open
openMode
openMode() -> Any
X.openMode()
peek
peek(maxlen: Any) -> Any
X.peek(maxlen) -> PythonQt.QtCore.QByteArray
pos
pos() -> int
X.pos() -> int
Supplemental documentation: Qt 5 reference:
[override virtual] qint64 QBuffer::pos() const
Reimplements: QIODevice::pos() const.
Upstream PySide2 reference signatures (binding differences may apply):
pos(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qbuffer.html#pos
putChar
putChar(c: Any) -> bool
X.putChar(c) -> bool
read
read(maxlen: Any) -> Any
X.read(maxlen) -> PythonQt.QtCore.QByteArray
readAll
readAll() -> Any
X.readAll() -> PythonQt.QtCore.QByteArray
readChannelFinished
readChannelFinished(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QBuffer.readChannelFinished; argument details are not documented.