kotlinx-serialization / kotlinx.serialization.builtins / AbstractEncoder / encodeBooleanElement

encodeBooleanElement

(common, js, jvm, native) fun encodeBooleanElement(descriptor: SerialDescriptor, index: Int, value: Boolean): Unit

Encodes a boolean value associated with an element at the given index in serial descriptor. The element at the given index should have PrimitiveKind.BOOLEAN kind.