We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7848924 commit ce8b05fCopy full SHA for ce8b05f
core/commonMain/src/kotlinx/serialization/encoding/Decoding.kt
@@ -411,6 +411,8 @@ public interface CompositeDecoder {
411
* return descriptor.getElementIndex(nextKey) // getElementIndex can return UNKNOWN_NAME
412
* }
413
* ```
414
+ *
415
+ * If [decodeSequentially] returns `true`, the caller might skip calling this method.
416
*/
417
public fun decodeElementIndex(descriptor: SerialDescriptor): Int
418
0 commit comments