JniSerialization

Wire-format adapter for the JNI transport. Round-trips successful payloads through JniSer; error frames are carried as CallData.Error by the routing layer (RpcMethod) and encoded natively by JniConnection, so this serializer only handles the success path.

Constructors

Link copied to clipboard
constructor(jniSer: JniSer = JniSer)

Functions

Link copied to clipboard
open override fun <I> createCallData(serializer: KSerializer<I>, input: I): CallData<JniSerialized>
Link copied to clipboard
open override fun <I> decodeCallData(serializer: KSerializer<I>, data: CallData<JniSerialized>): I