java.lang.Object
io.qt.QtObject
io.qt.core.QCborStreamReader
- All Implemented Interfaces:
QtObjectInterface
Simple CBOR stream decoder, operating on either a QByteArray or QIODevice
Java wrapper for Qt class QCborStreamReader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Java wrapper for Qt classQCborStreamReader::StringResult<QVariant>
static enum
Java wrapper for Qt enumQCborStreamReader::StringResultCode
static enum
Java wrapper for Qt enumQCborStreamReader::Type
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionQCborStreamReader
(byte [] data) Overloaded constructor forQCborStreamReader(io.qt.core.QByteArray)
.QCborStreamReader
(QByteArray data) QCborStreamReader
(QIODevice device) QCborStreamReader
(ByteBuffer data, long len) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addData
(byte [] data) Overloaded function foraddData(io.qt.core.QByteArray)
.final void
addData
(QByteArray data) final void
addData
(ByteBuffer data, long len) final void
clear()
final int
final long
final long
final QIODevice
device()
final boolean
final boolean
hasNext()
final boolean
isArray()
final boolean
final boolean
final boolean
final boolean
final boolean
isDouble()
final boolean
isFalse()
final boolean
isFloat()
final boolean
final boolean
final boolean
final boolean
isMap()
final boolean
isNull()
final boolean
final boolean
final boolean
isString()
final boolean
isTag()
final boolean
isTrue()
final boolean
final boolean
isValid()
final QCborError
final boolean
final long
length()
final boolean
next()
Overloaded function fornext(int)
withmaxRecursion = 10000
.final boolean
next
(int maxRecursion) final QCborStreamReader.Type
readStringChunk
(ByteBuffer ptr, long maxlen) final void
reparse()
final void
reset()
final void
final BigInteger
final boolean
final double
toDouble()
final float
toFloat()
final long
final QCborSimpleType
final QCborTag
toTag()
final QCborStreamReader.Type
type()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QCborStreamReader
public QCborStreamReader() -
QCborStreamReader
-
QCborStreamReader
-
QCborStreamReader
-
QCborStreamReader
public QCborStreamReader(byte [] data) Overloaded constructor for
QCborStreamReader(io.qt.core.QByteArray)
.
-
-
Method Details
-
addData
-
addData
-
clear
-
containerDepth
-
currentOffset
-
currentStringChunkSize
-
device
-
enterContainer
-
hasNext
-
isArray
-
isBoolean
-
isByteArray
-
isContainer
-
isDouble
-
isFalse
-
isFloat
-
isInteger
-
isInvalid
-
isLengthKnown
-
isMap
-
isNull
-
isSimpleType
-
isSimpleType
-
isString
-
isTag
-
isTrue
-
isUndefined
-
isBigInteger
-
isValid
-
lastError
-
leaveContainer
-
length
-
next
-
parentContainerType
-
readByteArray
-
readString
-
readStringChunk
@QtUninvokable public final QCborStreamReader.StringResult<@QtPrimitiveType Long> readStringChunk(ByteBuffer ptr, long maxlen) -
reparse
-
reset
-
setDevice
-
toBoolean
-
toDouble
-
toFloat
-
toInteger
-
toSimpleType
-
toTag
-
toBigInteger
-
type
-
addData
Overloaded function for
addData(io.qt.core.QByteArray)
. -
next
Overloaded function for
next(int)
withmaxRecursion = 10000
.
-