Subtype

sealed class Subtype<T : SessionTranscript> : KSerializer<T> (source)

Serializes one subtype of SessionTranscript, for its static type, e.g. encodeToByteArray(transcript).

Inheritors

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): T
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: T)