kotlinx-serialization / kotlinx.serialization.builtins / AbstractDecoder / decodeShortElement

decodeShortElement

(common, js, jvm, native) 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.