decodeShortElement

override fun decodeShortElement(descriptor: SerialDescriptor, index: Int): Short(source)

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.