kotlinx-serialization / kotlinx.serialization.builtins / AbstractEncoder / encodeCharElement

encodeCharElement

(common, js, jvm, native) fun encodeCharElement(descriptor: SerialDescriptor, index: Int, value: Char): Unit

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.