encodeBooleanElement

abstract fun encodeBooleanElement(descriptor: SerialDescriptor, index: Int, value: Boolean)(source)

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.