QtType

enum QtType : Enum<QtType>

Supported qt types for serialization

Entries

Link copied to clipboard

Custom data with a special (de-)serializer See QuasselType

Link copied to clipboard
QVariantList(9, QVariantListSerializer)

Length prefixed list of QVariant

Link copied to clipboard
QVariantMap(8, QVariantMapSerializer)

Length prefixed map of QString to QVariant

Link copied to clipboard
QVariant(138, QVariantSerializer)

Typed box See QVariant

Link copied to clipboard
QByteArray(12, ByteBufferSerializer)

Length prefixed slice of binary data See java.nio.ByteBuffer

Link copied to clipboard
QStringList(11, QStringListSerializer)

Length prefixes list of UTF-16 big endian strings

Link copied to clipboard
QString(10, StringSerializerUtf16)

UTF-16 big endian string See kotlin.String

Link copied to clipboard
QChar(7, QCharSerializer)

16-bit unicode character See kotlin.Char

Link copied to clipboard
QDateTime(16, QDateTimeSerializer)

Timestamp composed out of QDate, QTime and a zone specifier

Link copied to clipboard
QTime(15, QTimeSerializer)

Relative time in milliseconds since midnight See org.threeten.bp.LocalTime

Link copied to clipboard
QDate(14, QDateSerializer)

Date in the gregorian calender as julian date See org.threeten.bp.LocalDate

Link copied to clipboard
Uuid(30, UuidSerializer)

128-bit UUID See java.util.UUID

Link copied to clipboard
Double(6, DoubleSerializer)

64-bit IEEE 754 float See kotlin.Double

Link copied to clipboard
Float(135, FloatSerializer)

32-bit IEEE 754 float See kotlin.Float

Link copied to clipboard
ULong(132, ULongSerializer)

64-bit unsigned integer See kotlin.ULong

Link copied to clipboard
Long(129, LongSerializer)

64-bit signed integer See kotlin.Long

Link copied to clipboard
UInt(3, UIntSerializer)

32-bit unsigned integer See kotlin.UInt

Link copied to clipboard
Int(2, IntSerializer)

32-bit signed integer See kotlin.Int

Link copied to clipboard
UShort(133, UShortSerializer)

16-bit unsigned integer See kotlin.UShort

Link copied to clipboard
Short(130, ShortSerializer)

16-bit signed integer See kotlin.Short

Link copied to clipboard
UChar(134, UByteSerializer)

8-bit unsigned integer See kotlin.UByte

Link copied to clipboard
Char(131, ByteSerializer)

8-bit signed integer See kotlin.Byte

Link copied to clipboard
Bool(1, BoolSerializer)

8-bit boolean, 0 is false, everything else is true See kotlin.Boolean

Link copied to clipboard
Void(0, VoidSerializer)

Void, no data at all

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
inline fun <T> serializer(): PrimitiveSerializer<T>

Obtain a serializer for this type (type safe)

Properties

Link copied to clipboard
val id: Int

Underlying representation

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int