start add base64

This commit is contained in:
InsanusMokrassar 2021-01-14 14:22:26 +06:00
parent 972857268d
commit 6cccd5ff6c
5 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,2 @@
package dev.inmo.micro_utils.common

View File

@ -0,0 +1,7 @@
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
id "com.android.library"
}
apply from: "$mppProjectWithSerializationPresetPath"

View File

@ -0,0 +1,13 @@
package dev.inmo.micro_utils.serialization.base64
import kotlinx.serialization.KSerializer
import kotlinx.serialization.builtins.serializer
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.encoding.Decoder
class Base64Serializer<T>(private val typeSerializer: KSerializer<T>) : KSerializer<T> {
override val descriptor: SerialDescriptor = String.serializer().descriptor
override fun deserialize(decoder: Decoder): T {
TODO("Not yet implemented")
}
}

View File

@ -0,0 +1 @@
<manifest package="dev.inmo.micro_utils.serialization.base64"/>

View File

@ -21,6 +21,7 @@ String[] includes = [
":android:recyclerview", ":android:recyclerview",
":android:alerts:common", ":android:alerts:common",
":android:alerts:recyclerview", ":android:alerts:recyclerview",
":serialization:base64",
":dokka" ":dokka"
] ]