encodeSerializableValue
Encodes the value of type T by delegating the encoding process to the given serializer. For example, encodeInt
call is equivalent to delegating integer encoding to Int.Companion.serializer: encodeSerializableValue(Int.serializer())