java.lang.Object
io.qt.internal.QtJambiObject
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's class QCborStreamReader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Java wrapper for Qt's class QCborStreamReader::StringResultstatic enum
Java wrapper for Qt enum QCborStreamReader::StringResultCodestatic enum
Java wrapper for Qt enum QCborStreamReader::TypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionQCborStreamReader
(byte[] data) QCborStreamReader
(QByteArray data) QCborStreamReader
(QIODevice device) protected
Constructor for internal use only.QCborStreamReader
(ByteBuffer data, long len) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addData
(byte[] data) 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
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QCborStreamReader
public QCborStreamReader(byte[] data)
-
-
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
Overloaded function for
next(int)
withmaxRecursion = 10000
. -
next
-
parentContainerType
-
readByteArray
-
readString
-
readStringChunk
@QtUninvokable public final QCborStreamReader.StringResult<Long> readStringChunk(ByteBuffer ptr, long maxlen) -
reparse
-
reset
-
setDevice
-
toBoolean
-
toDouble
-
toFloat
-
toInteger
-
toSimpleType
-
toTag
-
toBigInteger
-
type
-
addData
-