decodeIntElement

override fun decodeIntElement(descriptor: SerialDescriptor, index: Int): Int(source)

Decodes a 32-bit integer value from the underlying input. The resulting value is associated with the descriptor element at the given index. The element at the given index should have PrimitiveKind.INT kind.