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.serializer: encodeSerializableValue(Int.serializer())