mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-12-23 00:57:15 +00:00
start add base64
This commit is contained in:
parent
972857268d
commit
6cccd5ff6c
@ -0,0 +1,2 @@
|
||||
package dev.inmo.micro_utils.common
|
||||
|
7
serialization/base64/build.gradle
Normal file
7
serialization/base64/build.gradle
Normal file
@ -0,0 +1,7 @@
|
||||
plugins {
|
||||
id "org.jetbrains.kotlin.multiplatform"
|
||||
id "org.jetbrains.kotlin.plugin.serialization"
|
||||
id "com.android.library"
|
||||
}
|
||||
|
||||
apply from: "$mppProjectWithSerializationPresetPath"
|
@ -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")
|
||||
}
|
||||
}
|
1
serialization/base64/src/main/AndroidManifest.xml
Normal file
1
serialization/base64/src/main/AndroidManifest.xml
Normal file
@ -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"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user