ksrpc
Toggle table of contents
0.9.4
common
Platform filter
common
Switch theme
Search in API
ksrpc
ksrpc-core
/
com.monkopedia.ksrpc
/
serialized
serialized
inline
fun
<
T
:
RpcService
,
S
>
T
.
serialized
(
env
:
KsrpcEnvironment
<
S
>
)
:
SerializedService
<
S
>
fun
<
T
:
RpcService
,
S
>
T
.
serialized
(
rpcObject
:
RpcObject
<
T
>
,
env
:
KsrpcEnvironment
<
S
>
)
:
SerializedService
<
S
>
Convert a
T
into a
SerializedService
for hosting.