java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QDataStream
- All Implemented Interfaces:
QIODeviceBase
,QtObjectInterface
public class QDataStream extends QtObject implements QIODeviceBase
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::VersionNested classes/interfaces inherited from interface io.qt.core.QIODeviceBase
QIODeviceBase.OpenMode, QIODeviceBase.OpenModeFlag
-
Constructor Summary
Constructors Modifier Constructor Description QDataStream()
QDataStream(QByteArray arg__1)
QDataStream(QByteArray arg__1, QIODeviceBase.OpenMode flags)
QDataStream(QByteArray arg__1, QIODeviceBase.OpenModeFlag... flags)
Overloaded constructor forQDataStream(io.qt.core.QByteArray, io.qt.core.QIODeviceBase.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.QIODeviceBase.OpenMode)
. -
QDataStream
-
QDataStream
-
QDataStream
-
QDataStream
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
abortTransaction
-
atEnd
-
byteOrder
-
commitTransaction
-
device
-
floatingPointPrecision
-
isDeviceTransactionStarted
-
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
-
version
-
writeBytes
-