Companion

Results of decodeElementIndex used for decoding control flow.

Properties

Link copied to clipboard
const val DECODE_DONE: Int

Value returned by decodeElementIndex when the underlying input has no more data in the current structure. When this value is returned, no methods of the decoder should be called but endStructure.

Link copied to clipboard
const val UNKNOWN_NAME: Int

Value returned by decodeElementIndex when the format encountered an unknown element (expected neither by the structure of serial descriptor, nor by the format itself).