java.lang.Object
io.qt.QtObject
io.qt.core.QCborStreamWriter
- All Implemented Interfaces:
QtObjectInterface
Simple CBOR encoder operating on a one-way stream
Java wrapper for Qt class QCborStreamWriter
- Since:
- This class was introduced in Qt 5.12.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
append
(boolean b) final void
append
(byte[] str) Overloaded function forappend(byte[], int, int)
.final void
append
(byte[] str, int offsetOfStr, int size) final void
append
(double d) final void
append
(float f) final void
append
(int i) SeeQCborStreamWriter::
append(int) final void
append
(long i) final void
append
(QByteArray ba) final void
append
(QCborKnownTags tag) final void
final void
final void
final void
append
(BigInteger u) final void
append
(ByteBuffer data) final void
final void
final QIODevice
device()
final boolean
endArray()
final boolean
endMap()
final void
final void
final void
startArray
(long count) final void
startMap()
final void
startMap
(long count) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QCborStreamWriter
- Parameters:
data
-
-
QCborStreamWriter
- Parameters:
device
-
-
-
Method Details
-
append
- Parameters:
ba
-
-
append
- Parameters:
tag
-
-
append
- Parameters:
st
-
-
append
- Parameters:
tag
-
-
append
- Parameters:
str
-
-
append
- Parameters:
b
-
-
append
- Parameters:
str
-size
-
-
append
- Parameters:
d
-
-
append
- Parameters:
f
-
-
append
See
QCborStreamWriter::
append(int) - Parameters:
i
-
-
append
- Parameters:
i
-
-
append
- Parameters:
u
-
-
append
- Parameters:
data
-
-
appendNull
-
appendUndefined
-
device
- Returns:
-
endArray
- Returns:
-
endMap
- Returns:
-
setDevice
- Parameters:
device
-
-
startArray
-
startArray
- Parameters:
count
-
-
startMap
-
startMap
- Parameters:
count
-
-
append
Overloaded function for
append(byte[], int, int)
.
-