NumberAsLongSerializer

object NumberAsLongSerializer : KSerializer<Long>

floating point number to/from Long serializer

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

serial descriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): Long

deserialize value with decoder and return decoded value

Link copied to clipboard
open override fun serialize(encoder: Encoder, value: Long)

serialize value with encoder