java.lang.Object
io.qt.QtObject
io.qt.core.QDataStream
- All Implemented Interfaces:
QIODeviceBase
,QtObjectInterface
Serialization of binary data to a QIODevice
Java wrapper for Qt class QDataStream
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQDataStream::ByteOrder
static enum
Java wrapper for Qt enumQDataStream::FloatingPointPrecision
static enum
Java wrapper for Qt enumQDataStream::Status
static enum
Java wrapper for Qt enumQDataStream::Version
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
Nested classes/interfaces inherited from interface io.qt.core.QIODeviceBase
QIODeviceBase.OpenMode, QIODeviceBase.OpenModeFlag
-
Constructor Summary
ConstructorDescriptionQDataStream
(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) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final QDataStream
append
(boolean i) final QDataStream
append
(byte i) final QDataStream
append
(byte[] v) final QDataStream
append
(char i) final QDataStream
append
(double f) final QDataStream
append
(float f) final QDataStream
append
(int i) final QDataStream
append
(long i) final QDataStream
append
(short i) final QDataStream
final <T> QDataStream
append
(T object) final boolean
atEnd()
final QDataStream.ByteOrder
final boolean
final QIODevice
device()
final boolean
SeeQDataStream::
isDeviceTransactionStarted()const final boolean
final byte
readByte()
final int
readBytes
(byte[] arg__1) final char
readChar()
final double
final float
final int
readInt()
final long
readLong()
final <T> T
readObject
(Class<T> cl, QMetaType ... instantiations) final short
final String
final void
final void
final void
setByteOrder
(QDataStream.ByteOrder arg__1) final void
final void
final void
setStatus
(QDataStream.Status status) final void
setVersion
(int arg__1) final int
skipRawData
(int len) final void
final QDataStream.Status
status()
final int
version()
final QDataStream
writeBoolean
(boolean v) final QDataStream
writeByte
(byte v) final int
writeBytes
(byte[] arg__1) final QDataStream
writeChar
(char v) final QDataStream
writeDouble
(double v) final QDataStream
writeFloat
(float v) final QDataStream
writeInt
(int v) final QDataStream
writeLong
(long v) final <T> QDataStream
writeObject
(T t) final QDataStream
writeShort
(short v) final QDataStream
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
QDataStream
public QDataStream() -
QDataStream
Overloaded constructor for
QDataStream(io.qt.core.QByteArray, io.qt.core.QIODeviceBase.OpenMode)
. -
QDataStream
-
QDataStream
-
QDataStream
-
-
Method Details
-
abortTransaction
-
atEnd
-
byteOrder
-
commitTransaction
-
device
-
floatingPointPrecision
-
isDeviceTransactionStarted
See
QDataStream::
isDeviceTransactionStarted()const -
append
-
append
-
append
-
append
-
append
-
append
-
append
-
append
-
append
-
readBoolean
-
readString
-
readDouble
-
readFloat
-
readShort
-
readInt
-
readLong
-
readByte
-
readChar
-
readBytes
-
resetStatus
-
rollbackTransaction
-
setByteOrder
-
setDevice
-
setFloatingPointPrecision
@QtUninvokable public final void setFloatingPointPrecision(QDataStream.FloatingPointPrecision precision) -
setStatus
-
setVersion
-
skipRawData
-
startTransaction
-
status
-
version
-
writeBytes
-
writeObject
-
writeString
-
writeDouble
-
writeByte
-
append
-
writeChar
-
writeFloat
-
writeInt
-
writeLong
-
writeShort
-
writeBoolean
-
append
-
readObject
-