kotlinx-serialization / kotlinx.serialization / CompositeDecoder / decodeIntElement

decodeIntElement

(common, js, jvm, native) abstract fun decodeIntElement(descriptor: SerialDescriptor, index: Int): Int

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.