@@ -55,7 +55,7 @@ public interface BinaryFormat : SerialFormat {
55
55
public fun <T > encodeToByteArray (serializer : SerializationStrategy <T >, value : T ): ByteArray
56
56
57
57
/* *
58
- * Decodes and deserializes the given [byte array][bytes] to to the value of type [T] using the given [deserializer]
58
+ * Decodes and deserializes the given [byte array][bytes] to the value of type [T] using the given [deserializer]
59
59
*/
60
60
public fun <T > decodeFromByteArray (deserializer : DeserializationStrategy <T >, bytes : ByteArray ): T
61
61
}
@@ -79,7 +79,7 @@ public interface StringFormat : SerialFormat {
79
79
public fun <T > encodeToString (serializer : SerializationStrategy <T >, value : T ): String
80
80
81
81
/* *
82
- * Decodes and deserializes the given [string] to to the value of type [T] using the given [deserializer]
82
+ * Decodes and deserializes the given [string] to the value of type [T] using the given [deserializer]
83
83
*/
84
84
public fun <T > decodeFromString (deserializer : DeserializationStrategy <T >, string : String ): T
85
85
}
@@ -92,7 +92,7 @@ public inline fun <reified T> StringFormat.encodeToString(value: T): String =
92
92
encodeToString(serializersModule.serializer(), value)
93
93
94
94
/* *
95
- * Decodes and deserializes the given [string] to to the value of type [T] using deserializer
95
+ * Decodes and deserializes the given [string] to the value of type [T] using deserializer
96
96
* retrieved from the reified type parameter.
97
97
*/
98
98
@OptIn(ExperimentalSerializationApi ::class )
@@ -153,7 +153,7 @@ public inline fun <reified T> BinaryFormat.encodeToByteArray(value: T): ByteArra
153
153
encodeToByteArray(serializersModule.serializer(), value)
154
154
155
155
/* *
156
- * Decodes and deserializes the given [byte array][bytes] to to the value of type [T] using deserializer
156
+ * Decodes and deserializes the given [byte array][bytes] to the value of type [T] using deserializer
157
157
* retrieved from the reified type parameter.
158
158
*/
159
159
@OptIn(ExperimentalSerializationApi ::class )
0 commit comments