Package dev.inmo.micro_utils.serialization.encapsulator

Types

Encapsulator
Link copied to clipboard
data class Encapsulator<T : Any>(klass: KClass<T>, serializer: KSerializer<T>)
data class Encapsulator<T : Any>(klass: KClass<T>, serializer: KSerializer<T>)
data class Encapsulator<T : Any>(klass: KClass<T>, serializer: KSerializer<T>)

Functions

tryEncode
Link copied to clipboard
fun <T : Any> Encapsulator<T>.tryEncode(encoder: Encoder, value: Any): Unit?
fun <T : Any> Encapsulator<T>.tryEncode(encoder: Encoder, value: Any): Unit?
fun <T : Any> Encapsulator<T>.tryEncode(encoder: Encoder, value: Any): Unit?