Serializer

class Serializer<ELEMENT>(elementSerializer: KSerializer<ELEMENT>, errorSerializer: RPCErrorSerializer) : KSerializer<StreamEvent<ELEMENT>>

Functions

deserialize
Link copied to clipboard
open override fun deserialize(decoder: Decoder): StreamEvent<ELEMENT>
serialize
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: StreamEvent<ELEMENT>)

Properties

descriptor
Link copied to clipboard
open override val descriptor: SerialDescriptor