java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QDataStream
- All Implemented Interfaces:
QtObjectInterface
Serialization of binary data to a QIODevice
Java wrapper for Qt's class QDataStream
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QDataStream::ByteOrderstatic enum
Java wrapper for Qt enum QDataStream::FloatingPointPrecisionstatic enum
Java wrapper for Qt enum QDataStream::Statusstatic enum
Java wrapper for Qt enum QDataStream::VersionNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQDataStream
(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
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final QDataStream
append
(byte v) final QDataStream
append
(byte[] v) final QDataStream
append
(char v) final QDataStream
append
(double v) final QDataStream
append
(float v) final QDataStream
append
(int v) final QDataStream
append
(long v) final QDataStream
append
(short v) final QDataStream
final <T> QDataStream
append
(T t) final boolean
atEnd()
final QDataStream.ByteOrder
final boolean
final QIODevice
device()
final boolean
final byte
readByte()
final int
readBytes
(byte[] arg__1) final char
readChar()
final double
final float
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 void
Deprecated.final int
version()
final QDataStream
writeBoolean
(boolean i) final QDataStream
writeByte
(byte i) final int
writeBytes
(byte[] arg__1) final QDataStream
writeChar
(char i) final QDataStream
writeDouble
(double f) final QDataStream
writeFloat
(float f) final QDataStream
writeFloat16
(float f) final QDataStream
writeInt
(int i) final QDataStream
writeLong
(long i) final <T> QDataStream
writeObject
(T object) final QDataStream
writeShort
(short i) final QDataStream
writeString
(String str) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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
-
append
-
append
-
append
-
append
-
append
-
append
-
append
-
append
-
append
-
append
-
writeObject
-
readObject
-
setDevice(io.qt.core.QIODevice)
withnull
instead