char * data()
\macro QT_NO_CAST_FROM_BYTEARRAY
void reserve(qsizetype size)
Attempts to allocate memory for at least size bytes.
void setDevice(QIODevice *)
void QDataStream::setDevice(QIODevice *d)
int version() const
Returns the version number of the data serialization format.
void setVersion(int)
Sets the version number of the data serialization format to v, a value of the \l Version enum.
QByteArray squeezedData() const
Returns a copy of the raw packet data, with extra reserved space removed.
QPacket(int version)
Constructs an empty write-only packet.
void clear()
Clears the packet, discarding any data.
const QByteArray & data() const
Returns a reference to the raw packet data.
Combined button and popup list for selecting options.
GLenum GLuint GLenum GLsizei const GLchar * buf
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data