mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-11-07 04:23:15 +00:00
start add base64
This commit is contained in:
1 parent
972857268d
commit
6cccd5ff6c
5 files changed
+24
No files matched your search
@@ -0,0 +1,2 @@
|
||||
package dev.inmo.micro_utils.common
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
plugins {
|
||||
id "org.jetbrains.kotlin.multiplatform"
|
||||
id "org.jetbrains.kotlin.plugin.serialization"
|
||||
id "com.android.library"
|
||||
}
|
||||
|
||||
apply from: "$mppProjectWithSerializationPresetPath"
|
||||
+13
@@ -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")
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<manifest package="dev.inmo.micro_utils.serialization.base64"/>
|
||||
@@ -21,6 +21,7 @@ String[] includes = [
|
||||
":android:recyclerview",
|
||||
":android:alerts:common",
|
||||
":android:alerts:recyclerview",
|
||||
":serialization:base64",
|
||||
|
||||
":dokka"
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user