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 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
- Parameters:
data
-
-
QCborStreamReader
- Parameters:
device
-
-
QCborStreamReader
- Parameters:
data
-len
-
-
QCborStreamReader
public QCborStreamReader(byte [] data) Overloaded constructor for
QCborStreamReader(io.qt.core.QByteArray)
.
-
-
Method Details
-
addData
- Parameters:
data
-
-
addData
- Parameters:
data
-len
-
-
clear
-
containerDepth
- Returns:
-
currentOffset
- Returns:
-
currentStringChunkSize
- Returns:
-
device
- Returns:
-
enterContainer
- Returns:
-
hasNext
- Returns:
-
isArray
- Returns:
-
isBoolean
- Returns:
-
isByteArray
- Returns:
-
isContainer
- Returns:
-
isDouble
- Returns:
-
isFalse
- Returns:
-
isFloat
- Returns:
-
isInteger
- Returns:
-
isInvalid
- Returns:
-
isLengthKnown
- Returns:
-
isMap
- Returns:
-
isNull
- Returns:
-
isSimpleType
- Returns:
-
isSimpleType
- Parameters:
st
-- Returns:
-
isString
- Returns:
-
isTag
- Returns:
-
isTrue
- Returns:
-
isUndefined
- Returns:
-
isBigInteger
- Returns:
-
isValid
- Returns:
-
lastError
- Returns:
-
leaveContainer
- Returns:
-
length
- Returns:
-
next
- Parameters:
maxRecursion
-- Returns:
-
parentContainerType
- Returns:
-
readByteArray
- Returns:
-
readString
- Returns:
-
readStringChunk
@QtUninvokable public final QCborStreamReader.StringResult<@QtPrimitiveType Long> readStringChunk(ByteBuffer ptr, long maxlen) - Parameters:
ptr
-maxlen
-- Returns:
-
reparse
-
reset
-
setDevice
- Parameters:
device
-
-
toBoolean
- Returns:
-
toDouble
- Returns:
-
toFloat
- Returns:
-
toInteger
- Returns:
-
toSimpleType
- Returns:
-
toTag
- Returns:
-
toBigInteger
- Returns:
-
type
- Returns:
-
addData
Overloaded function for
addData(io.qt.core.QByteArray)
. -
next
Overloaded function for
next(int)
withmaxRecursion = 10000
.
-