java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QDataStream
- All Implemented Interfaces:
QtObjectInterface
public class QDataStream extends QtObject
Serialization of binary data to a QIODevice
Java wrapper for Qt class QDataStream
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QDataStream.ByteOrder
Java wrapper for Qt enum QDataStream::ByteOrderstatic class
QDataStream.FloatingPointPrecision
Java wrapper for Qt enum QDataStream::FloatingPointPrecisionstatic class
QDataStream.Status
Java wrapper for Qt enum QDataStream::Statusstatic class
QDataStream.Version
Java wrapper for Qt enum QDataStream::Version -
Constructor Summary
Constructors Modifier Constructor Description QDataStream()
QDataStream(QByteArray arg__1)
QDataStream(QByteArray arg__1, QIODevice.OpenMode flags)
QDataStream(QByteArray arg__1, QIODevice.OpenModeFlag... flags)
Overloaded constructor forQDataStream(io.qt.core.QByteArray, io.qt.core.QIODevice.OpenMode)
.QDataStream(QIODevice arg__1)
protected
QDataStream(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
Constructor Details
-
QDataStream
public QDataStream() -
QDataStream
Overloaded constructor for
QDataStream(io.qt.core.QByteArray, io.qt.core.QIODevice.OpenMode)
. -
QDataStream
-
QDataStream
-
QDataStream
-
QDataStream
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
abortTransaction
-
atEnd
-
byteOrder
-
commitTransaction
-
device
-
floatingPointPrecision
-
writeBoolean
-
writeString
-
writeDouble
-
writeFloat
-
writeInt
-
writeLong
-
writeFloat16
-
writeShort
-
writeByte
-
writeChar
-
readBoolean
-
readString
-
readDouble
-
readFloat
-
readInt
-
readLong
-
readFloat16
-
readShort
-
readByte
-
readChar
-
readBytes
-
resetStatus
-
rollbackTransaction
-
setByteOrder
-
setDevice
-
setFloatingPointPrecision
@QtUninvokable public final void setFloatingPointPrecision(QDataStream.FloatingPointPrecision precision) -
setStatus
-
setVersion
-
skipRawData
-
startTransaction
-
status
-
unsetDevice
Deprecated.UsesetDevice(io.qt.core.QIODevice)
withnull
instead -
version
-
writeBytes
-