From c0523469fa8356cbc3b23bc94eecd47efc2d9eed Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 14 Jan 2021 21:22:25 +0600 Subject: [PATCH] remove "Serializer" annotation at Base64StringSerializer --- .../inmo/micro_utils/serialization/base64/Base64Serializer.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/serialization/base64/src/commonMain/kotlin/dev/inmo/micro_utils/serialization/base64/Base64Serializer.kt b/serialization/base64/src/commonMain/kotlin/dev/inmo/micro_utils/serialization/base64/Base64Serializer.kt index 39a4087962d..29e9db330b8 100644 --- a/serialization/base64/src/commonMain/kotlin/dev/inmo/micro_utils/serialization/base64/Base64Serializer.kt +++ b/serialization/base64/src/commonMain/kotlin/dev/inmo/micro_utils/serialization/base64/Base64Serializer.kt @@ -17,5 +17,4 @@ open class Base64Serializer( override fun serialize(encoder: Encoder, value: T) = encoder.encodeString(converterFrom(value).encodeBase64String()) } -@Serializer(String::class) object Base64StringSerializer : Base64Serializer({ it }, { it })