encodeCharElement

override fun encodeCharElement(descriptor: SerialDescriptor, index: Int, value: Char)(source)

Encodes a 16-bit unicode character value associated with an element at the given index in serial descriptor. The element at the given index should have PrimitiveKind.CHAR kind.