micro_utils.dokka
0.12.14
android
common
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.serialization.encapsulator
/
[jvm]Encapsulator
Encapsulator
jvm
data
class
Encapsulator
<
T
:
Any
>
(
val
klass
:
KClass
<
T
>
,
val
serializer
:
<Error class: unknown class>
<
T
>
)
Content copied to clipboard
Constructors
Functions
Properties
Extensions
Constructors
Encapsulator
Link copied to clipboard
jvm
fun
<
T
:
Any
>
Encapsulator
(
klass
:
KClass
<
T
>
,
serializer
:
<Error class: unknown class>
<
T
>
)
Content copied to clipboard
Functions
encapsulate
Link copied to clipboard
jvm
fun
<
O
>
encapsulate
(
value
:
Any
,
callback
:
<Error class: unknown class>
<
T
>
.
(
T
)
->
O
)
:
O
?
Content copied to clipboard
Properties
klass
Link copied to clipboard
jvm
val
klass
:
KClass
<
T
>
Content copied to clipboard
serializer
Link copied to clipboard
jvm
val
serializer
:
<Error class: unknown class>
<
T
>
Content copied to clipboard
Extensions
try
Encode
Link copied to clipboard
android
common
jvm
fun
<
T
:
Any
>
Encapsulator
<
T
>
.
tryEncode
(
encoder
:
<Error class: unknown class>
,
value
:
Any
)
:
<Error class: unknown class>
Content copied to clipboard
fun
<
T
:
Any
>
Encapsulator
<
T
>
.
tryEncode
(
encoder
:
<Error class: unknown class>
,
value
:
Any
)
:
<Error class: unknown class>
Content copied to clipboard
fun
<
T
:
Any
>
Encapsulator
<
T
>
.
tryEncode
(
encoder
:
<Error class: unknown class>
,
value
:
Any
)
:
<Error class: unknown class>
Content copied to clipboard