encodeLongElement

abstract fun encodeLongElement(descriptor: SerialDescriptor, index: Int, value: Long)(source)

Encodes a 64-bit integer value associated with an element at the given index in serial descriptor. The element at the given index should have PrimitiveKind.LONG kind.