SnapshotStateListSerializer


A KSerializer for SnapshotStateList.

This serializer wraps a KSerializer for the element type T, enabling serialization and deserialization of SnapshotStateList instances. The serialization of individual elements is delegated to the provided elementSerializer.

Parameters
<T : Any?>

The type of elements stored in the SnapshotStateList.

Summary

Public constructors

<T : Any?> SnapshotStateListSerializer(
    elementSerializer: <Error class: unknown class><T>
)
Cmn

Public functions

open SnapshotStateList<T>
Cmn
open Unit
serialize(
    encoder: <Error class: unknown class>,
    value: SnapshotStateList<T>
)
Cmn

Public properties

open <Error class: unknown class>
Cmn

Public constructors

SnapshotStateListSerializer

<T : Any?> SnapshotStateListSerializer(
    elementSerializer: <Error class: unknown class><T>
)
Parameters
<T : Any?>

The type of elements stored in the SnapshotStateList.

elementSerializer: <Error class: unknown class><T>

The KSerializer used to serialize and deserialize individual elements.

Public functions

deserialize

open fun deserialize(decoder: <Error class: unknown class>): SnapshotStateList<T>

serialize

open fun serialize(
    encoder: <Error class: unknown class>,
    value: SnapshotStateList<T>
): Unit

Public properties

descriptor

open val descriptor<Error class: unknown class>