kotlinx-serialization / kotlinx.serialization.builtins / AbstractDecoder / decodeDoubleElement

decodeDoubleElement

(common, js, jvm, native) fun decodeDoubleElement(descriptor: SerialDescriptor, index: Int): Double

Decodes a 64-bit IEEE 754 floating point 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.DOUBLE kind.