encodeIntElement

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

Encodes a 32-bit integer value associated with an element at the given index in serial descriptor. The element at the given index should have PrimitiveKind.INT kind.