kotlinx-serialization / kotlinx.serialization / CompositeDecoder / decodeShortElement

decodeShortElement

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

Decodes a 16-bit short 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.SHORT kind.